[
Lists Home |
Date Index |
Thread Index
]
- To: "Brian Vickery" <macacos@linkline.com>
- Subject: RE: [xml-dev] XMLSchema validation during an Update
- From: "Manos Batsis" <m.batsis@bsnet.gr>
- Date: Tue, 29 Jan 2002 16:19:08 +0200
- Cc: <xml-dev@lists.xml.org>
- Thread-index: AcGozqw+StdK4MFYS+6d/JzLyJ2yqAAABxyw
- Thread-topic: [xml-dev] XMLSchema validation during an Update
Nice one. Well, truth is people have a very 'static' view of XML.
But the more I work with the markup, the more I understand that
"documents" do not have as much meaning as they used to.
Oh well.
The easy answer is that validation has no place during any operation on
the document. It is supposed to happen when you
load/receive/send/whatever your markup, not while you are modifying it.
The other answer is that if you want constant validation (a hypothetical
impossible nightmare) you should validate types, not documents.
Kindest regards,
Manos
> -----Original Message-----
> From: Brian Vickery [mailto:macacos@linkline.com]
> Sent: Tuesday, January 29, 2002 4:04 PM
> To: xml-dev@lists.xml.org
> 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,
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>
|