Hi all,

AFAIK, I am allowed to declare 2 attributes with the same name provided
they're not in the same scope.
So the following snippet is valid:
     <attribute name="foo" type="string"/>
     <attributeGroup name="fooGroup">
          <attribute name="foo" type="string"/>
     </attributeGroup>

and XercesJ is Ok validating that but....

when that schema is imported in another schema, that raises isues like:
     Schema error: prefix : [importing_schema] cannot be resolved to a URI.
And the validator is not able to find refs inside the importing schema
anymore !

Both schema are valid without the import statement.
The importing schema is ok when I comment out the globally declared
attribute in the imported one !

Any idea about that behaviour that could help me ? Do you want me to write
a test case reproducing that problem ?

Thanks for your help

--
Etienne


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to