RE: [xml-dev] XMLSchema validation during an Update

From
Michael Kay <>
To
'Manos Batsis' <>, 'Brian Vickery' <>
Date
2002-01-29T18:02:54
ID
<003c01c1a8ef$2ed14000$78fe0250@pcukmka>
Thread
RE: [xml-dev] XMLSchema validation during an Update
> > How would an XMLSchema be used to validate an update 
> > elements/attributes/
> > and/or values during an XUpdate XPath expression?  Since an 
> > XMLSchema is
> > associated with a "document" and not a fragment of a 
> > document, does this
> > imply one must retrieve the complete document and not just 
> > the fragment to
> > do validation before actually updating the fragment?

I think the assumption is wrong. You can validate any element against a type
defined in a schema. This will typically process the descendants of the
element, but it need not process the entire document.

Mike Kay
>