|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML validation
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








