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] xsd validation was RE: [xml-dev] XPath/XSLT 2.0 concerns

[ Lists Home | Date Index | Thread Index ]

>And a *lot* of people are writing apps that read in XML right now today; I
wonder how many of them are including an XSD valudation step? -Tim

Indeed, not many I would think. Truth is that many developers / teams choose
for XML as the communication language between various components of their
application which they all write themselves. And why would you use
validation in such a case ? You know perfectly well which XML is being
generated ... it's not going to change overnight. One side on the app
generates and the other side receives (and vice-versa) ... no need for a DTD
or XSD.

Agreed ?

Gerben.


-----Original Message-----
From: bryan [mailto:bry@itnisk.com]
Sent: 03 October 2002 09:48
To: 'Tim Bray'
Cc: xml-dev@lists.xml.org
Subject: [xml-dev] xsd validation was RE: [xml-dev] XPath/XSLT 2.0
concerns



>  Any wrapper that includes XSD validation is going to be an
>awfully thick "wrapper" though.  And a *lot* of people are writing apps

>that read in XML right now today; I wonder how many of them are
>including an XSD valudation step? -Tim


Well for those I've seen where the XML and the validation requirements
have not been trivial the app invariably either needs to do some of the
validation, or the app needs to have extra logic at the front where XML
generation takes place to make sure that the Human Understandable date
gets changed into XSDL understandable date, with hopefully some
validation code to make sure that the Human Understandable date is an
actual date.
- obviously date is just one of the examples, other example is changing
from currency formats, for example changing 1.006.459,00 to 1,006,459.00
which is something one would most likely want to deal with anyway.
Point being that I see quite a lot of this kind of stuff having to be
done wherever the data is important and then finally the XSDL gets added
in basically checking that structure is right.






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