[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: [XML Schema 1.1] Using doc() in xs:assert ... the referenced document needs a schema?

From: Michael Kay <mike@saxonica.com>
Date: Fri, 1 May 2009 12:24:34 +0100
To: "'Rick Jelliffe'" <rjelliffe@allette.com.au>, <xmlschema-dev@w3.org>
Message-ID: <7370726B5BBC47EBAD3D358DE19BDF08@Sealion>
RE: [XML Schema 1.1] Using doc() in xs:assert ...  the referenced    document needs a schema?
> > I think the working group felt that
> > introducing context-dependent validation (where the validity of a 
> > document depends on factors other than the schema and the instance 
> > document) was a risky architectural innovation, and possibly a step 
> > that would be later regretted.
> 
> So they actually had no reason? Just some vague possibility. 

Actually, now I recall some of the discussion: one of the concerns was
specifically the subject of this original question. Should the referenced
document be schema-validated? If so, how do you prevent circularities, or
infinite regress? Some members of the WG feel strongly that validation
should never pose any denial-of-service risks, and allowing doc() opens up
all sorts of possibilities.

Potential problems like this can consume an immense amount of WG time, and
when a spec is running years late already, there is a strong temptation for
the chair to encourage people to cut a feature rather than spend time
discussing whether or not it creates a problem.

Michael Kay
http://www.saxonica.com/
Received on Friday, 1 May 2009 11:25:12 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.