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>
    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 ?
Received on Wednesday, 30 October 2002 13:30:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:58 UTC