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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
(Deleted User) Subject: Schema Validation
Author: (Deleted User)
Date: 23 Feb 2004 03:13 PM
I have a schema that uses xsd restriction mechanism and I get such different result from the various validators.

Your default one is absolutely ruthless. Can you please tell me if you are confident with the behaviour of your tool over say the .NET and XSV versions.

Postnext
(Deleted User) Subject: Re: Schema Validation
Author: (Deleted User)
Date: 23 Feb 2004 05:06 PM
At 15.39 23/02/2004 -0500, stylus-studio-tech Listmanager wrote:
>From: "Martin Roberts"
>
>I have a schema that uses xsd restriction mechanism and I get such
>different result from the various validators.
>
>Your default one is absolutely ruthless. Can you please tell me if you
>are confident with the behaviour of your tool over say the .NET and XSV
>versions.

The default schema validator is Xerces-C++; as for saying what is the best
one, I know no official benchmark that can give you an absolute answer. Any
validator has bugs/incomplete implementation, especially given the
complexity of the specs.
However, the feedback I had from people working with schema validation for
a living is that Xerces-C++ is better than the other two; while Xerces-J
and IBM Schema Quality Checker seem to be better than Xerces-C++.
In any case you should test what is the validator that works better with
the schemas you are using and use that one.

Hope this helps,

Alberto

Postnext
(Deleted User) Subject: Re: Schema Validation
Author: (Deleted User)
Date: 24 Feb 2004 10:00 AM
Alberto,
The problem is 'What is the best validator for me' one that passes things I want to do or one that implements the spec best.

As it is always the restriction that gives me problems is there any way of knowing if the xercesC++ implements the spec accurately?

Martin

Postnext
(Deleted User) Subject: Re: Schema Validation
Author: (Deleted User)
Date: 25 Feb 2004 11:05 AM
At 10.27 24/02/2004 -0500, stylus-studio-tech Listmanager wrote:
>From: "Martin Roberts"
>
>Alberto,
> The problem is 'What is the best validator for me' one that passes
> things I want to do or one that implements the spec best.
>
> As it is always the restriction that gives me problems is there any way
> of knowing if the xercesC++ implements the spec accurately?

The only bug in the 'restriction' area that I am aware of is filed as
bug#14000 (see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14000 )
and refers to Xerces triggering as invalid a complex type that has a simple
content obtained by restricting a simple type. In a sense, Xerces it's too
restrictive...
There are also a few bugs in the detection of duplicates (i.e. in some case
they are not detected); and others involving the validation of datatypes
like dates and base64.

BTW, the list of the schema validation problems in Xerces-C++ can be found
at this link
http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Xerces-C%2B%2B&component=Validating+Parser+%28Schema%29+%28Xerces+1.5+or+up+only%29
)

Hope this answer your question,
Alberto

Postnext
(Deleted User) Subject: Re: Schema Validation
Author: (Deleted User)
Date: 01 Mar 2004 08:06 AM
Alberto,
In your opinion if the schema validates in Xerces J that is supplied with your product as an extension validator, would you be happy?

I am having other problems where the inbuilt validator seems to be having problems with validating contents that have been declared as any##other and skip. Can you help?

Postnext
(Deleted User) Subject: Re: Schema Validation
Author: (Deleted User)
Date: 01 Mar 2004 08:22 AM
At 08.33 01/03/2004 -0500, stylus-studio-tech Listmanager wrote:
>From: "Martin Roberts"
>
>Alberto,
> In your opinion if the schema validates in Xerces J that is supplied
> with your product as an extension validator, would you be happy?

If I were a schema writer and my schema was validated by Xerces-J, I would
be happy.


> I am having other problems where the inbuilt validator seems to be
> having problems with validating contents that have been declared as
> any##other and skip. Can you help?

I filed bug #16962 a while ago
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16962 ) describing an
issue with ##other and ##local. Is this what you are seeing?

Alberto

Posttop
(Deleted User) Subject: Re: Schema Validation
Author: (Deleted User)
Date: 01 Mar 2004 10:18 AM
Given the Unique Particle rule they refer to could we have an option to put the -f flag on to disable this check. This might over come my other problem.

   
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.