Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Both extending and restricting with [Thread Next] RE: Both extending and restricting withTo: "'George Cristian Bina'" <george@---------.---> Date: 4/1/2005 5:05:00 PM
> > I can't see a rule in Schema that bans <xs:redefine> containing two
> > redefinitions of the same component, but there's also no
> statement saying
> > what the effect should be.
>
> Xerces complains pointing to
> http://www.w3.org/TR/xmlschema-1/#sch-props-correct
> 2 Each of the {type definitions}, {element declarations}, {attribute
> group definitions}, {model group definitions} and {notation
> declarations} must not contain two or more schema components with the
> same {name} and {target namespace}.
I don't blame them making that decision, though since xs:redefine modifies
components rather than creating new components, it's stretching a point.
Michael Kay
http://www.saxonica.com/
From David.Hirtle@n... Fri Apr 01 18:45:18 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
