- From: Michael Rys <mrys@m...>
- To: "'Mike.Champion@S...'" <Mike.Champion@S...>,xml-dev@l...
- Date: Mon, 19 Feb 2001 14:43:31 -0800
Title: RE: XSD Schema : Standard APIs ?
I personally do
not see a compelling reason to provide a DOM-based API. We basically can use
XQuery to query the type system since it is supposed to use XSD (and its
formalization) as the type system itself...
Best
regards
Michael
> -----Original Message----- >
From: Simon Fell [mailto:xml@z...]
> Sent: Monday, February 19, 2001 4:17 PM > To: xml-dev@l... > Subject:
XSD Schema : Standard APIs ? >
> I was chatting to a friend last night about how XSD is
used within > SOAP & WSDL, in particular its
use as a type system rather than a > validation
language. I was wondering if there are any plans to define > a standard API to query/use the type system that a particular
XSD
The W3C DOM Level 3's "Content Models and Validation" module
will define a generic API for dealing with the content model that a "schema"
(broadly speaking, including DTDs, XSD, and in principle RELAX, XDR, etc.)
defines, the "PSV Infoset", and at least some datatype support. See http://www.w3.org/TR/2001/WD-DOM-Level-3-CMLS-20010209/content-models.html
for the initial draft of this effort, and please comment to www-dom@w... if
the functionality described in this draft does not meet your needs.
I believe, though I'm not sure, that the W3C Schemas working
group is working on a set of XSD-specific extensions to DOM Level 3 that would
more fully support its unique features.
|