XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Levine LevineSubject: Validation Parsing
Author: Levine Levine
Date: 01 Apr 2002 12:44 PM
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?


Applicationschemaforshippingdiscount.xsd

Postnext
Minollo I.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.

Thanks,
Minollo

Posttop
Levine LevineSubject: 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

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.