W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2002

Re: inline schema validation

From: Steven Livingstone <s.livingstone@btinternet.com>
Date: Thu, 21 Mar 2002 19:57:59 -0000
Message-ID: <020701c1d115$8d5411e0$8119fea9@bobo>
To: "Aram Hakobyan" <aram_hakobyan@hotmail.com>, <xmlschema-dev@w3.org>
MSXML 4.0 doesn't support validation of inline XSDL Schemas.

steven
http://deltabis.com/steven

----- Original Message ----- 
From: "Aram Hakobyan" <aram_hakobyan@hotmail.com>
To: <xmlschema-dev@w3.org>
Sent: Wednesday, March 20, 2002 12:38 AM
Subject: inline schema validation


> I have an xml file with xml schema inside (in the same
> file) like this:
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> <abc>
> <xsd:schema targetNamespace="http://tempuri.org"
> xmlns="http://tempuri.org"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> <xsd:element name="Data"
> type="xsd:integer"></xsd:element>
> </xsd:schema>
> <Data xmlns="http://tempuri.org">55</Data>
> </abc>
> 
> 
> Can anybody provide a sample of verification of this file using MSXML4
> (like load()...validate()). All the samples I know presume
> the schema is in a separate file.
> 
> Thanks,
> 
> Aram
> 
> 
> 
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 
> 
Received on Thursday, 21 March 2002 15:18:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:30 GMT