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 ]
  • 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,


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


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

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