XML schema import failure

10 views
Skip to first unread message

rob.at...@surroundaustralia.com

unread,
Apr 5, 2018, 1:17:12 AM4/5/18
to TopBraid Suite Users
Hi
i have a relatively simple  XSD (attached) from a data dump of the australian business register - on import it fails without any useful diagnostics:
"Could not import XML Schema"

stack trace
java.lang.RuntimeException: org.apache.jena.rdf.model.HasNoModelException: http://www.w3.org/2002/07/owl#Thing

Using 5.4 

I have tried other much more complex schemas with imports with success. Maybe its the enumerations in this schema? Schema tests as valid.



subextract.xsd

Holger Knublauch

unread,
Apr 5, 2018, 1:40:03 AM4/5/18
to topbrai...@googlegroups.com
Hi Rob,

looks like you ran into a bug in the XSD importer. It happens when the XSOM library that we use returns "anyType" as the name of a type. In your particular example this case it triggered by LegalEntityType, IndividualNameType and a few others.

While this was easy to fix on my end, I don't see how to work around this bug on your end before the next release. If you have XSD files that you want me to convert (with the fix), send me an email.

Holger
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages