Wherefore Art Thou, Schema Validation?

Jul 6

Wherefore Art Thou, Schema Validation?

One kink I’ve recently noticed in a number of ‘scripting languages’ geared towards producing web apps is the utter lack of support for XML Schema. I’m surprised by this, since a good Schema validator can save a lot of code when used properly.

Read on for ranting and raving.


Comments

by Charles Larry,   July 12, 2004 5:09 PM  

Even Perl could use some further development work with respect to validation against XML Schemas. I'd like to see an implementation that doesn't rely on Xerces. The Xerces C library and associated Perl module can be difficult to build on some platforms (AIX, for example). What would be nice is to have a pure Perl implementation which would be guaranteed to run anywhere there is an installed Perl.


by Joe,   July 13, 2004 8:28 AM  

Yes, native support would be a nice option. I imagine Xerces would still be faster, but then you could use Xerces when it's convenient, and native where it's not.


by Jeremiah Applonia,   March 25, 2005 3:41 PM  

Maybe Ruby doesn't support XSD because it's a ridiculous standard that will likely be replaced w/ something else soon (e.g. RelaxNG) Never mind Ruby's excellent built in YAML support and the fundamental conflict between Ruby's vibe and what's happened to XML technologies since XML came out (XSD, XSL, etc.)

I'd argue that validating on the level you are talking about with XSD is of questionable value anyway. Knowing that the document is not going to break the parser at some level is one thing, but knowing that the phone number matches a phone regex, etc., in one command doesn't save much. Writing the code to deal with the range of errors returned from the XSD validation in a useable manner is basically as much work as doing the validations individually in the first place, plus you had to write and debug your XSD anyway. cf http://c2.com/cgi/wiki?OnceAndOnlyOnce


by Bill Shakes,   August 7, 2006 5:12 AM  

"Wherefore" means "why" (not "where").

Bill


by saravanan,   October 18, 2007 2:37 AM  

In Schema validation, 1 i will validate as integer. but if give like this means it will accepting validation. the null must not come to me. please help me.



Add Comment


Want to advertise on this site? Contact FM.
Laser Toner Cartridges UK laser toner, toner cartridges, hp toner, lexmark toner, samsung toner, canon, toner, epson toner, oki toner, kyocera toner, xerox toner, remanufactured toner, compatible toner
Direct TV Deals Free 4 room direct tv deals. no equipment to buy. free fast professional direct tv installation. this is the best direct tv deal available anywhere.
SEO Article Learn from the experts with our SEO article.
rope light Shopping with birddog distributing, inc., gives you access to the lowest prices, the best customer service and the quickest delivery times possible.
Laptop AC Adapter We offer genuine factory direct replacement AC adapters.
Direct TV Best satellite TV deals.
Direct TV Deals Direct TV programming deals are varied and include packages containing from 50 channels up to over 250 channels.
8mm film to DVD Retain family memories with the only frame by frame digital restoration service in the United States for your 8mm film to DVD today
Rubber Stamp Shop for custom self-inking stamps, hand stamps, address stamps, label stamps, check endorsement stamps, check deposit stamps, date stamps, pre inks, pocket stamps, ink and much more!