[
Lists Home |
Date Index |
Thread Index
]
Such performance considerations can be improved by caching the PSVI
information for the document after the first time it is validated and using
that the verify if updates are good or not and if so updating the PSVI info if
necessary.
Of course this may have issues with updates that perform significant changes
(e.g. changing the xsi:type of an element).
--
THINGS TO DO IF I BECOME AN EVIL OVERLORD #19
I will not have a daughter. She would be as beautiful as she was evil, but
one look at the hero's rugged countenance and she'd betray her own father.
----- Original Message -----
From: "Brian Vickery" <macacos@linkline.com>
To: <xml-dev@lists.xml.org>
Sent: Tuesday, January 29, 2002 6:04 AM
Subject: [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? This could be
> QUITE expensive.
>
> thanks,
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
|