Dave Pawson scripsit:

> Error reported is
>
> /files/odf/ODFWrSchema.rng:17425:19: error: conflicting ID-types for
> attribute "targetElement" from namespace
> "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" of element
> "command" from namespace
> "urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
>
> /files/odf/ODFWrSchema.rng:10197:22: error: conflicting ID-types for
> attribute "targetElement" from namespace
> "urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0" of element
> "command" from namespace
> "urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
>
>
> I take it that's an error in the schema?

Yes, it is.  What's happened is that an attribute somewhere is being declared
of type ID, and then you are using an "anyAttribute" wildcard and implicitly
declaring all attributes to be of type "text", including the one you said was
of type ID earlier.  An attribute name can't be both ID and not-ID simultaneously.

The cure is to exclude your ID-type attribute by name from the anyAttribute
wildcard.

--
John Cowan  [EMAIL PROTECTED]   ccil.org/~cowan
Dievas dave dantis; Dievas duos duonos          --Lithuanian proverb
Deus dedit dentes; deus dabit panem             --Latin version thereof
Deity donated dentition;
  deity'll donate doughnuts                     --English version by Muke Tever
God gave gums; God'll give granary              --Version by Mat McVeagh


SPONSORED LINKS
Xml schema Computer internet security Xml
Computer internet business Xml format Xml document


YAHOO! GROUPS LINKS




Reply via email to