Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: when to validate XML while being created programmatically.. >Thread Next - Re: suitable data type to store patterns.. RE: when to validate XML while being created programmatically..To: "'dave'" <ceek63@-----.--->, <xmlschema-dev@--.---> Date: 12/21/2007 9:12:00 AM > Let's say, the W3C schema has key/keyref constraints. When you validate incrementally, violations of key/keyref constraints will typically be detected and reported when processing the endElement event of the element that defines the key. You don't need to tell the validator when this happens, it can tell. It is true, however, that if the error is that the value in some keyref has been misspelled, then it might be reported some time after the error actually occurred. Michael Kay http://www.saxonica.com/ From S.Yona@F... Mon Dec 24 07:18:43 2007 Received: | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
