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
(Deleted User) Subject: Standard Validation Engines
Author: (Deleted User)
Date: 27 Jun 2007 01:32 PM
Originally Posted: 27 Jun 2007 12:43 PM
These may be some really naive questions. There's a lot to learn here.

I have read the 1000+ page user guide quite thoroughly and I can't find answers to my uncertainties about the validation engines / parsers for validating XML and XSD.

Attached is the Options > General > Custom Validation Engines configuration, showing that I have 7 parsers installed, and have the Java built-in one at the top.

I have changed the order from time to time.

My recollection was that there was one that was named Xerces but it's not there (I began with Build 894d, then 894g, now 894i).

Definitely, I have over the last week checked the box 'Supports validation of XML Schema', for one or other of the parsers.

I think that was a mistake.

Question 1:
Where can I find the default settings for these validation engines (ie, the Standard ones - not something that I have added as a Custom validator)?

Question 2:
My ad hoc changing of the checkbox 'Supports validation of XML Schema' is not a good idea, right?

Question 3:
Since I haven't created any Custom validators, are these the standard ones for Build 894i?

Question 4:
These are the checkbox settings which I see right now (I know that I haven't changed any of the 5 textboxes containing parameters etc):

.................... CB1 CB2 CB3
Java built-in - X -
MSXML6.0 DOM parser - X X
.NET XML parser - X X
MSXML4.0 DOM parser - X -
MSXML4.0 SAX parser - X -
MSXML6.0 SAX parser - X -
XSV 2.10-1 - X X

Are these correct?
(X = checked, - = unchecked.
No font control, so the formatting is hard to read. Sorry)

Question 5:
Is / was there a parser names Xerces?

Sorry to be pedantic and possibly obtuse about this.

Ian


ImageCustomValidationEngines_1.jpg
Options - Custom Validation Settings

Postnext
(Deleted User) Subject: Standard Validation Engines
Author: (Deleted User)
Date: 27 Jun 2007 02:49 PM
Hi Ian,

>Question 1:
>Where can I find the default
>settings for these validation
>engines (ie, the Standard ones
>- not something that I have
>added as a Custom validator)?

Here they are:
Java Built-in: Support XML
MSXML 4 DOM: Support XML
MSXML 6 DOM: Support XML
MSXML 4 SAX: Support XML
MSXML 6 SAX: Support XML
.NET: Support XML
XSV: Support XML & Support XMLSchema

>Question 2:
>My ad hoc changing of the
>checkbox 'Supports validation
>of XML Schema' is not a good
>idea, right?

No; those check boxes mean "this validator can validate an XML file associated to an XML Schema" and "this validator can validate an XML Schema directly". Depending on the selection, the validator will appear in the list of the available validators of an XML document or of an XMLSchema document. At that point, selecting the validator from a document that it doesn't support means you will get cryptic errors (like 'xs:schema not defined in schema')

>Question 3:
>Since I haven't created any
>Custom validators, are these
>the standard ones for Build
>894i?

Yes.

>Question 4:
>These are the checkbox
>settings which I see right now
>(I know that I haven't changed
>any of the 5 textboxes
>containing parameters etc):
>
>.................... CB1 CB2
>CB3
>Java built-in - X -
>MSXML6.0 DOM parser - X X
>.NET XML parser - X X
>MSXML4.0 DOM parser - X -
>MSXML4.0 SAX parser - X -
>MSXML6.0 SAX parser - X -
>XSV 2.10-1 - X X
>
>Are these correct?

You need to uncheck the CB3 for the MSXML 6 DOM and .NET validators

>Question 5:
>Is / was there a parser names
>Xerces?

Yes; Xerces-C++ is the default validator, the one you obtain by clicking the 'Validate' button without using the drop-down list. There used to be Xerces-J 2.5, but it has been replaced by the Java built-in (i.e. whatever version of Xerces-J is bundled in the JVM)

Alberto

Posttop
(Deleted User) Subject: Standard Validation Engines
Author: (Deleted User)
Date: 27 Jun 2007 06:19 PM
Originally Posted: 27 Jun 2007 06:18 PM
Exellent. That's everything clarified for those issues, then.

Ian

 
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.