[xsd-users] Compiling COLLADA 1.5 using XSD v 3.2.0

Boris Kolpackov boris at codesynthesis.com
Thu Jul 16 03:35:30 EDT 2009


Hi Fredrik,

Fredrik Zetterman <fredrikz at gmail.com> writes:

> location: ''
> C:\<snip>\collada\mathml2\common: error:  
> 'C:\<snip>\collada\mathml2\common': unable to open in read mode
>
> It seems (to me) that I somehow get a location which refers to '' and it  
> somehow gets mapped to a folder(mathml2\common)...

This is caused by an empty import declaration in 
mathml2/common/common-attribs.xsd. Some of strangest things you see
in schemas from W3C...

Once I commented this import, the error disappeared. I've added an
item to my TODO list to implement ignoring such imports.


> Has anyone tried to compile COLLADA 1.5 and successfully done so? Any  
> tips/hints on what I could be doing wrong?

After the location error is gone I got an unstable conflict error
which I resolved by adding the following option to your settings
file:

--anonymous-regex %.* .* (.+)/(.+)%$1_$2%

After that the schema compiles ok. Let us know if you run into
any other problems.

Boris




More information about the xsd-users mailing list