Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: Resolving ID usage in schemas [Thread Next] Re: Resolving ID usage in schemasTo: "Bagepalli, Kiran" <kbagepalli@-----------.---> Date: 5/12/2004 11:31:00 AM > Does that mean the below set of schemas are valid? Does ID attribute > have applicability only with respect with the XML representation and > not with the includes? Yes to both. xan On May 12, 2004, at 2:28 PM, Bagepalli, Kiran wrote: > I had a question on id handling in schemas. > > For eg. if I have schema A.xsd > > <xsd:schema id="ABC"> > <xsd:include schemaLocation="B.xsd"> > <xsd:element name="x" type="xsd:string"> > </xsd:schema> > > schema B.xsd > > <xsd:schema id="ABC"> //HERE ABC value is repeated as a id > </xsd:schema> > > If we look at A.xsd as standalone XML having a id attribute it is > unique. > However since it includes B.xsd does the id declared here considered a > duplicate. From ashoksrini@y... Wed May 12 23:31:10 2004 Re | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
