It seems that XMLSchema validation uses internal parsing. Is it possible to use MSXML3 instead?
Actually the problem is: When I do a validation in SS, everything is fine but when I try to use it in VB I get a error message "Incorrect definition for the root element in schema"
Any idea why?
Subject:Validation Parsing Author:Minollo I. Date:01 Apr 2002 09:52 PM
>It seems that XMLSchema validation uses internal
>parsing. Is it possible to use MSXML3 instead?
No; we are evaluating the possibility to add MSXML-based validation, but it's not there yet.
>Actually the problem is: When I do a validation in SS,
>everything is fine but when I try to use it in VB I get a
>error message "Incorrect definition for the root
>element in schema". Any idea why?
Are you talking about validation of the schema itself, or validation of a document against the posted schema? We tested the schema itself against a bunch of validation engines, and all agreed the schema is valid. If the error you get is validating a document against that schema, then we would need also the XML document to understand what the problem is.
Subject:Validation Parsing Author:Levine Levine Date:03 Apr 2002 09:27 AM
I'm trying to validate XML using XSD file in ASP code using XMLSchemaCache component. There is no any relation with XML because it crashes when I load (add) XSD. Look at the code:
cX =Server.MapPath("schema.xsd")
Set oS = Server.CreateObject("MSXML2.XMLSchemaCache")
oS.Add "",cX