OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]

> > 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
> 

<<attachment: winmail.dat>>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS