W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2004

Re: XSV bug? RE: XSV reports a validation error I can't figure out - desperate

From: June <june@strand-bsl.com>
Date: Sun, 15 Feb 2004 14:03:43 -0000
Message-ID: <001201c3f3cc$864877c0$0401a8c0@JMB>
To: <xmlschema-dev@w3.org>
All,

I have a similar problem to that described in Jan 2001.
I have a schema that verifies with XMLSPY no problem and if I put a forced error in XMLSPY finds the error.

If I try to do the same using MSXML (SP2)

It fails to verify, saying it hasn't found one of the simple types declared in one of my XSD.
Everything is declared properly - well xmlspy thinks so.
But I have the xml validated from with in my programming language.

  XML := CreateOLEObject('MSXML2.DOMDocument.4.0');
  Xml.validateOnParse := true;
  XML.resolveExternals :=true;
  XML.async := false;
  XML.load('aaa.xml');

Is there an extra command that is needed.



June

-----------------
June Brown
Senior Systems Developer
Strand Business Systems
Email : june@strand-bsl.com
Tel : 0208 559 2555
Fax to Email  : 0709201 8471
-----------------
Received on Sunday, 15 February 2004 09:04:58 GMT

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