[xsd-users] Compiling COLLADA 1.5 using XSD v 3.2.0
fredrikz at gmail.com
Wed Jul 15 08:23:36 EDT 2009
I've been trying to figure out how to compile the COLLADA 1.5 schema using
C++/Tree, but now I've stumbled on a problem which I cannot solve.
I'm using the following command:
xsd cxx-tree --options-file settings collada_schema_1_5.xsd
With the file 'settings' looking like this:
This gives me the following output:
'C:\<snip>\collada\mathml2\common': unable to open in read mode
C:\<snip>\collada\collada_schema_1_5.xsd:1938:41: warning F001: element
'unnormalized' is implicitly of anyType
C:\<snip>\collada\collada_schema_1_5.xsd:1938:41: info: did you forget to
specify 'type' attribute?
It seems (to me) that I somehow get a location which refers to '' and it
somehow gets mapped to a folder(mathml2\common)...
I cannot see how this is triggered since it seems to be able to parse
mathml2.xsd completely beforehand (if I only remove --location-map
http://www.w3.org/2001/xml.xsd=xml/xml.xsd from the file, I get an error
that it cannot be found. The reference to xml.xsd is _after_ mathml2.xsd,
so therefore mathml2.xsd should already be parsed at that point...)
Is there a way for me to see where this location reference is triggered?
(I haven't found an option for it, did I miss it?)
Has anyone tried to compile COLLADA 1.5 and successfully done so? Any
tips/hints on what I could be doing wrong?
More information about the xsd-users