[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: XSD Support in MSXML ?
- From: Paul Spencer <firstname.lastname@example.org>
- To: Dimiter Naydenov <email@example.com>, firstname.lastname@example.org
- Date: Sun, 01 Jul 2001 21:57:55 +0100
MSXML3 does not support XML Schema - it supports XML Data Reduced (XDR),
which is close to Microsoft's submission of a schema language to the W3C.
The implementation was referred to as a "developer preview" although many
(including Microsoft) forgot this. Since there is no reference to an XDR
schema in your XML file, the parser does not see a schema at all.
MSXML4 will have XML Schema support. The current beta has limited support
and is downloadable from the MS site. It should detect the error you show
CTO, alphaXML Ltd
alphaXML is recruiting XML Consultants
+44 (0)1491 630053
From: Dimiter Naydenov [mailto:email@example.com]
Sent: 30 June 2001 17:27
Subject: XSD Support in MSXML ?
I'm new to XML and I was reading about it for a few days. Now I'm
experimenting with something (using XML schemas) but can't figure out if
MSXML 3.0 supports the XSD-style schemas (not only the MS-specific
What I'm doing wrong ? Here are my XML and Schema file:
<?xml version="1.0" encoding="utf-8" ?>
<xsd:element name="test" type="xsd:integer"/>
The definition of <test> intentionally is set to "integer". Isn't it normal
for a validating parser to return an error, because <test> is not defined as
"integer" in the XML file ?
Why then IE 5.01 (with MSXML 3.0 SP1) doesn't report an error and just
displays the XML as if it was no schema ?
I hope someone can help me figure this out !
The xml-dev list is sponsored by XML.org, an initiative of OASIS
The list archives are at http://lists.xml.org/archives/xml-dev/
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: firstname.lastname@example.org