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

RE: XML validation

  • From: "Michael J. Fitzgerald" <mike@w...>
  • To: yimin zhu <yiminz@t...>
  • Date: Fri, 22 Sep 2000 12:57:21 -0700

yimin zhu
Yimin Zhu,

Actually, the namespace declaration does not point to a validating schema,
though it appears to. In section 2 of the "Namespaces in XML"
recommendation, in regards to the namespace name ("x-schema:bookschema.xml"
in your example) it states "It is not a goal that it be directly usable for
retrieval of a schema (if any exists)." See
http://www.w3.org/tr/rec-xml-names. That stated, I won't be surprised if
this behavior changes.

Some sources show runtime validation happening in a DOCTYPE declaration, but
it remains to be seen, as XML Schema is still in working draft and
shrink-wrapped validators are out a ways. E.g., <!DOCTYPE bookschema SYSTEM
"bookschema.xsd">. Check out http://www.w3.org/XML/Schema for some links to
current work on schema validators.

Mike

-----Original Message-----
From: yimin zhu [mailto:yiminz@t...]
Sent: Friday, September 22, 2000 11:29 AM
To: 'xml-dev@l...'
Subject: XML validation


It seems that in order to validate an XML file against a schema the location
of a schema file has to be included in the XML file, i.e. <book
xmlns="x-schema:bookschema.xml">...</book>. Are there any other ways to do
XML validation at runtime?

Yimin Zhu
Timberline Software Corp.






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.