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

XML with schema and DOMDOCUMENT

From: Uriel Nusenbaum <nusen@arnet.com.ar>
Date: Wed, 30 Oct 2002 10:06:47 -0500 (EST)
Message-ID: <01db01c28022$ddf612d0$33fca8c0@URIEL>
To: <xmlschema-dev@w3.org>
Hello,
    I'm using domdocument to load an xml file that have associated an schema.
Here is the code:

Dim xmlDoc As New MSXML2.DOMDocument30
xmlDoc.async = False
xmlDoc.validateOnParse = True
xmlDoc.resolveExternals = True
xmlDoc.Load App.Path & "\XMLADD.xml"
Set myErr = xmlDoc.parseError
If (myErr.errorCode <> 0) Then
 MsgBox ("You have error " & myErr.reason)
End If
MsgBox xmlDoc.xml

when i use a software like xml spy i have errors when i use dom document the application  dont raise errors!
anybody know what uis the problem ?
Thanks!
Received on Wednesday, 30 October 2002 13:30:58 GMT

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