Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Michael Kay" <mike@--------.--->
To: "'Rick Jelliffe'" <rjelliffe@-------.---.-->, <xmlschema-dev@--.--->
Date: 5/1/2009 1:25:00 PM
> > 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/


From Paul.Steckler@n... Sun May 03 02:06:30 2009
Received


transparent
Print
Mail
Like It
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