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 ]

This is a document-centric view of XML and not a data-centric one. If I have
XML in a database and I modify it, there should be a way to make sure the new
document conforms to the database schema. If hierarchical, relational and
object databases can give me this functionality I see no reason why a native
XML database should not.

--
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: "Manos Batsis" <m.batsis@bsnet.gr>
To: "Brian Vickery" <macacos@linkline.com>
Cc: <xml-dev@lists.xml.org>
Sent: Tuesday, January 29, 2002 6:19 AM
Subject: RE: [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>
>
>

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


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





 

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

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