Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: [XML Schema 1.1] Using doc() in xs:assert ... the referenced document needs a schema? >Thread Next - RE: [XML Schema 1.1] Using doc() in xs:assert ... the referenced document needs a schema? RE: [XML Schema 1.1] Using doc() in xs:assert ... the referenced document needs a schema?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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
