If local elements are unqualified, and the schema has a target namespace, then that would be fine. Otherwise, it would be impossible for the validator to know what it is validating against.
David Cleary the Progress Company > -----Original Message----- > From: Bagepalli, Kiran [mailto:kbagepalli@;informatica.com] > Sent: Thursday, October 31, 2002 9:07 PM > To: [EMAIL PROTECTED] > Subject: element decl > > > Is it valid to have a local and global ref with the same name at the same > level. How does xerces handle it. > <element name="Book"> > <xsd:complexType> > <xsd:choice> > <xsd:element ref="Title"> > <xsd:element name = "Title" type="xsd:string"> > </xsd:choice> > </xsd:complexType> > </xsd:element> > > If the XML reads > <Book> > <Title> - What title am I talking about. Local or global one?? > > Kiran > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
