Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: internal schema?

From: "Michael Kay" <mike@--------.--->
To: <noah_mendelsohn@--.---.--->, "'C. M. Sperberg-McQueen'" <cmsmcq@---.--->
Date: 12/14/2005 3:49:00 PM
I also wonder why anyone wants to use inline schemas. If it's for creating a
PSVI, then fine; but if it's for validation, then what's the point? As a
document recipient, I want the document to be valid against a schema of my
choice, not against any old schema that the sender happens to choose.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: xmlschema-dev-request@w... 
> [mailto:xmlschema-dev-request@w...] On Behalf Of 
> noah_mendelsohn@u...
> Sent: 14 December 2005 15:31
> To: C. M. Sperberg-McQueen
> Cc: nagarajank@h...; xmlschema-dev@w...
> Subject: Re: internal schema?
> 
> 
> Michael Sperberg-McQueen writes:
> 
> > 3 Normally, one would want to use inline schemas on just the 
> > payload, not on the entire XML document.
> 
> Yes.  Crucially, in case it's not obvious, the alternative 
> would be to 
> have the schema validating itself along with the rest of the 
> document, 
> since you've asked to have the schema in the element tree.
> 
> In the case of DTDs, XML gives you a place to put the internal subset 
> that's distinct from the element tree.  Unfortunately, XML is not 
> currently extensible in a way that would allow you to put an 
> XML Schema 
> (or RelaxNG or Schematron schema) as a true replacement for the DTD.
> 
> --------------------------------------
> Noah Mendelsohn 
> IBM Corporation
> One Rogers Street
> Cambridge, MA 02142
> 1-617-693-4036
> --------------------------------------
> 
> 
> 
> 
> 
> 



From gregor.zeitlinger@t... Wed Dec 14 21:53:22 2005
Received: from lisa.w3.


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent