W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2003

XML result set schema validation

From: Tony Opatha <tonyopatha@yahoo.com>
Date: Tue, 17 Jun 2003 23:52:07 -0700 (PDT)
Message-ID: <20030618065207.32408.qmail@web20502.mail.yahoo.com>
To: xmlschema-dev@w3.org
I am trying to design a XML schema for a SOAP message body.
I need to design the XML schema for a document that may need
to be initialized with a XML fragment that may vary with
different levels of details.
If the document instance needs to be XSD schema validated, how
should the XML fragment be designed such that schema validator
will accept the different document instances having different
detail levels. In some ways the XML document is very much like
the result set of DBMS query. All result sets are valid against
the same table of data, but having different level details. The
problem is that each level of etail may have different schema
for those elements.
Any ideas?
Is this a problem for XQuery or does XML schema provide enough
richness that we can add different XML fragments with same
XML schema constraints provided by the XSD spec for eacg of
the XML fragments in the container XML instance?

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
Received on Wednesday, 18 June 2003 02:53:09 UTC

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