Schema Grammar validity question.

Chris Simmons <[email protected]>
Newsgroups gmane.text.xml.xerces-j.user
Message-ID <[email protected]>
I've got three grammars with a potentially dubious substitution group chain.

In a.xsd we have an attribute group declaring ##other.

In b.xsd we have an extension of a type from c.xsd declaring an ID 
attribute.

In c.xsd we have the base type, which declares a single attribute and 
##other.

Now the question is, is this valid according to point 1.3 of this section?

http://www.w3.org/TR/xmlschema-1/#cos-ct-extends

The reason I ask is that I'm getting conflicting answers.  Xerces says 
its valid, but XSD 
(http://www.eclipse.org/modeling/mdt/?project=xsd#xsd) claims that it 
isn't valid.

So who's right and why?

Regards,

Chris Simmons.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
a.xsd (application/xml, 697 B) - not displayed
c.xsd (application/xml, 599 B) - not displayed
b.xsd (application/xml, 574 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.