xsd:redefine ignored in binding ?

View: New views
1 Messages — Rating Filter:   Alert me  

xsd:redefine ignored in binding ?

by Loïc Quéran-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi again,

In the public scxml-profile-ecma.xsd from http://www.w3.org/TR/scxml/, the core module XSD is redefined by <xsd:redefine schemaLocation="scxml-module-core.xsd">. The following binding <jxb:bindings schemaLocation="scxml-module-core.xsd" node="/xs:schema"> works with minimal profile, which includes the core module, but fails with the ecma profile, which redefines it:


parsing a schema...
[ERROR] "file:/C:/jaxb-ri-20090206/samples/scxml/scxml-module-core.xsd" is not a part of this compilation. Is this a mistake for "file:/C:/jaxb-ri-2009020
amples/scxml/scxml-module-data.xsd"?
  line 8 of file:/C:/jaxb-ri-20090206/samples/scxml/binding.xjb

[ERROR] The "jxb:schemaBindings" customization is not associated with any schema element.
  line 5 of file:/C:/jaxb-ri-20090206/samples/scxml/binding.xjb

Failed to parse a schema.

How can I work around this ?

Thanks in advance for any help.

Best regards,

Loïc