W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002


From: Mikael Joukakelian <mikaelj@cae.com>
Date: Tue, 10 Sep 2002 10:13:40 -0400
Message-ID: <719A38AB7279D511B91900D0B7444A9E02611713@caemsx03.cae.ca>
Cc: xmlschema-dev@w3.org

Is there a way for a schema to say that any element, attribute, and
structure is allowed under a node? I have the following situation. My xml
instance has a node, say MyNode, that I define in my schema. And it also has
a node, say ForeignNode>, for which I do not have a schema. Another tool is
reading and writing into this node. I do not care about validating this
node, I just want to keep it for documentation purposes:

		<!-- I have a schema that describes what is valid here -->
		<!-- I do not have a schema description of this and I do not
want to control what goes here. -->

As is, my schema will not validate the xml above since it does not define
ForeignNode. Is there something I could put in my schema (other than trying
to define the ForeignNode) so that my xml instance will be valid?

Thanks in advance.  
Received on Tuesday, 10 September 2002 10:15:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:05 UTC