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

Re: validating against the standard W3C


verify xml against xsd
Title: RE: validating against the standard W3C
Have you tried using another parser besides the Sun's MSV? I know for a fact that XSV can validate the W3C schema since I tried it myself shortly after the first email I sent you. You can easily verify this by accessing this URL
 
        http://www.w3.org/2001/03/webdata/xsv?docAddrs=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema.xsd&style=xsl
 
which is the results of having XSV validate the XSD file for W3C XML schema. I also mentioned that if you run Windows you can have XSV validate schemas by calling Runtime.exec( ) from your application.  If you absolutely have to use a Java API and don't run Windows I suggest trying Xerces which from my experience is fairly good as well.
 
Secondly, I keep wondering what validating your schema against the W3C XSD files buys you considering that you should get the same effect from using the "http://www.w3.org/2001/XMLSchema" namespace in your schema (and in fact the W3C schema XSD file at http://www.w3.org/2001/XMLSchema.xsd does in fact use that namespace so either way you're going to use it).
 
--
THINGS TO DO IF I BECOME AN EVIL OVERLORD #168
I will plan in advance what to do with each of my enemies if they are
captured. That way, I will never have to order someone to be tied up
while I decide his fate.
 
 
----- Original Message -----
Sent: Wednesday, December 12, 2001 12:55 AM
Subject: RE: validating against the standard W3C

ok,
this answers say that to validate against the normative schema,
you have to write it in your schema (namespace declaration)

but how can you then validate this schema? Just by parsing=>gives parse exceptions but we want validation excpetions and more explanation about the possible error...

and we want to validate making use of a java api...
any idea how to do this?

I checked the deja-vu archive but couldn't find an answer to this question...

bart

-----Original Message-----
From: Jeff Rafter [mailto:jeffrafter@d...]
Sent: Tuesday, December 11, 2001 8:41 PM
To: xml-dev@l...
Subject: Re: validating against the standard W3C


> Another resource is the Deja-vu archive of the XMLSchema-dev mailing list,
> again doing keyword searches. There's a number of Rec mavens on that list
> who've answered almost every question at least once.

Yeah, Eddie Robertson and Henry Thompson answered this one [1]-- I couldn't
say it better:

[1]
     http://lists.w3.org/Archives/Public/xmlschema-dev/2001May/0127.html
     http://lists.w3.org/Archives/Public/xmlschema-dev/2001Jun/0002.html

HTH,
Jeff Rafter
Defined Systems
http://www.defined.net
XML Development and Developer Web Hosting





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