[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsd validation was RE: XPath/XSLT 2.0 concerns


xsd xpath
>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@i...]
Sent: 03 October 2002 09:48
To: 'Tim Bray'
Cc: xml-dev@l...
Subject:  xsd validation was RE:  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>


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.