|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using xsd:type in xml files
From: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Date: Mon, 11 Apr 2005 10:55:10 +0200 (CEST) Message-ID: <32820.192.54.193.28.1113209710.squirrel@rousalka.dyndns.org> To: "Nicolas Mailhot" <nicolas.mailhot@laposte.net> Cc: xmlschema-dev@w3.org On Lun 11 avril 2005 10:42, Nicolas Mailhot a écrit : > On my own I'd urge to use the named elements since we've declared them, The problem of course is the element foo is used inside a sequence somewhere else, so replacing the foo xsd:type="bar_x" elements by bar_x elements make the validation fail here : <xsd:element name="A"> <xsd:complexType> <xsd:sequence> <xsd:element ref="X:B"/> <xsd:element ref="X:C"/> <xsd:element ref="X:foo"/> </xsd:sequence> </xsd:complexType> </xsd:element> Rhaaa, what a mess -- Nicolas MailhotReceived on Monday, 11 April 2005 08:55:19 GMT |
Subscribe in XML format
|






