XML with schema and DOMDOCUMENT

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 UTC