Hello Xerces users,
When parsing an xml element such as:
<pr:elem pr:attr="value" xmlns:pr="some-uri" />
With schema validation enabled, Xerces throws:
Fatal: cvc-complex-type.3.2.2: Attribute "pr:attr" is not allowed to appear in
element "pr:elem".
I know it is weird to use a namespace prefix on an attribute, which references
the xml namespace of the owning element, but I do not think it is illegal as per
XML Schema specs.
Is this a bug or am I missing something here ?...
Vincent Figari
SAP Labs France
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
|