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

RE: XSD Support in MSXML ?

  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • To: Dimiter Naydenov <bluelight@o...>, xml-dev@l...
  • Date: Sun, 01 Jul 2001 14:47:58 -0500

msxml xsd
MSXML 4.0 beta supports XSD Schemas.  3.0 does not.  
You can download and install the new version at the usual 
place.  There is also an SDK with a Help file loaded with 
good examples.  Note that it installs in side by side 
mode.  The right mouse utility will still call 3.0, not 
4.0, so look for the code examples that show how 
to call 4.0 and use the schema cache.


Len Bullard
Intergraph Public Safety
clbullar@i...
http://www.mp3.com/LenBullard

Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h


-----Original Message-----
From: Dimiter Naydenov [mailto:bluelight@o...]
Sent: Saturday, June 30, 2001 11:27 AM
To: xml-dev@l...
Subject: XSD Support in MSXML ?


Hello,

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
XML-Data).

What I'm doing wrong ? Here are my XML and Schema file:

<?xml version="1.0" encoding="utf-8" ?>
<test xmlns:test="http://www.test.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.test.org/ test.xsd">

  <block name="b1">text</block>

</test>

The Schema:

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.test.org/" xmlns="http://www.test.org/">
  <xsd:element name="test" type="xsd:integer"/>
</xsd:schema>

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 !
Dimiter Naydenov


------------------------------------------------------------------
The xml-dev list is sponsored by XML.org, an initiative of OASIS
<http://www.oasis-open.org>

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: xml-dev-request@l...

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.