{"action":"created","issue":{"url":"https://api.github.com/repos/srdc/ontmalizer/issues/12","repository_url":"https://api.github.com/repos/srdc/ontmalizer","labels_url":"https://api.github.com/repos/srdc/ontmalizer/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/srdc/ontmalizer/issues/12/comments","events_url":"https://api.github.com/repos/srdc/ontmalizer/issues/12/events","html_url":"https://github.com/srdc/ontmalizer/issues/12","id":153777728,"number":12,"title":"non-deterministic behavior in ontmalizer","user":{"login":"xristy","id":3542294,"avatar_url":"https://avatars.githubusercontent.com/u/3542294?v=3","gravatar_id":"","url":"https://api.github.com/users/xristy","html_url":"https://github.com/xristy","followers_url":"https://api.github.com/users/xristy/followers","following_url":"https://api.github.com/users/xristy/following{/other_user}","gists_url":"https://api.github.com/users/xristy/gists{/gist_id}","starred_url":"https://api.github.com/users/xristy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xristy/subscriptions","organizations_url":"https://api.github.com/users/xristy/orgs","repos_url":"https://api.github.com/users/xristy/repos","events_url":"https://api.github.com/users/xristy/events{/privacy}","received_events_url":"https://api.github.com/users/xristy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-09T13:36:19Z","updated_at":"2016-05-10T23:04:57Z","closed_at":null,"body":"Build from latest in github and testing with a simple schema and conforming XML instance and using example code from the blog post ([Ontmalizer...](http://www.srdc.com.tr/projects/salus/blog/?p=189)).\r\n\r\nI am able to map the schema and then when trying to map instance document, non-deterministically, sometimes a reasonable n3 file is generated and sometimes XML2OWLMapper throws an exception when traversing one of the attributes in the first child element of the instance document.\r\n\r\nRepeated trials with the same XMLSchema and sample instance documents sometimes fail and sometimes not, and when there is an exception it is not always at the same attribute - I put Logger calls in XML2OWLMapper on calls to traverseChildren and in traverseAttributes. Here is the exception that is thrown (the stacktrace is below):\r\n\r\n> Exception in thread \"main\" org.apache.jena.ontology.ConversionException: Cannot convert node http://www.srdc.com.tr/ontmalizer#hasValue to OntProperty\r\n\r\nThe exception, when it occurs, does not occur on the same attribute but always on some attribute of the first child element of the instance document.\r\n\r\nThe java test, a sample run, schema and instance file are attached as [ontmalizer-nd-issue.zip](https://github.com/srdc/ontmalizer/files/255048/ontmalizer-nd-issue.zip)"},"comment":{"url":"https://api.github.com/repos/srdc/ontmalizer/issues/comments/218317524","html_url":"https://github.com/srdc/ontmalizer/issues/12#issuecomment-218317524","issue_url":"https://api.github.com/repos/srdc/ontmalizer/issues/12","id":218317524,"user":{"login":"xristy","id":3542294,"avatar_url":"https://avatars.githubusercontent.com/u/3542294?v=3","gravatar_id":"","url":"https://api.github.com/users/xristy","html_url":"https://github.com/xristy","followers_url":"https://api.github.com/users/xristy/followers","following_url":"https://api.github.com/users/xristy/following{/other_user}","gists_url":"https://api.github.com/users/xristy/gists{/gist_id}","starred_url":"https://api.github.com/users/xristy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xristy/subscriptions","organizations_url":"https://api.github.com/users/xristy/orgs","repos_url":"https://api.github.com/users/xristy/repos","events_url":"https://api.github.com/users/xristy/events{/privacy}","received_events_url":"https://api.github.com/users/xristy/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T23:04:57Z","updated_at":"2016-05-10T23:04:57Z","body":"Hi Mustafa,\r\n\r\nI'm glad that the issue is repeatable for you. I'm happy to help try and find the cause. To that end, I should mention that I tried JenaParameters.disableBNodeUIDGeneration(true) in XSD2OWLMapper and in XML2OWLMapper to see if the problem was related to a time-dependent issue related to java.rmi being used to generate UIDs for AnonId/BlankNodeId. Curiously with that setting in XSD2OWLMapper it seemed that XML2OWLMapper always fails. \r\n\r\nI also tried forcing UIDok = false in jena/BlankNodeId.java to force use of jvm local UUIDs while bypassing java.rmi. The non-deterministic behavior seemed to return. \r\n\r\nI'm not sure how to interpret these results but it seems to suggest some sort of blank node id problem. \r\n\r\nDoes the problem appear in earlier versions of ontmalizer prior to pull request #11?\r\n\r\nI also configured my eclipse test environment to use jena 3.1.1-SNAPSHOT with no change in the issue. "}}