[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Different Validation in XML Spy 4.2, 4.3 and 4.4

  • To: "'Winchel 'Todd' Vincent III'" <winchel@m...>, xml-dev@l...
  • Subject: RE: Different Validation in XML Spy 4.2, 4.3 and 4.4
  • From: "DuCharme, Bob (LNG)" <bob.ducharme@l...>
  • Date: Thu, 30 May 2002 10:55:42 -0400

xmlspy validation bug
>Has anyone else come across problems with XML Spy 4.2, 4.3, and 4.4 such as
>those described below?
>...
>I have attempted to validate the xml instance with the following schema
>(below) in:
>
>MSXML 4.0 (successfully)
>MSXML 4.0 SP1 (successfully)
>XML Spy 4.2 (successfully)
>XML Spy 4.3 (*un*successfully)
>XML Spy 4.4 (*un*successfully)
>
><snip/>
>
>In any case, validation in the products above are inconsistent.  I have not
>tried anything else.  I hope that XML Spy 4.3 and 4.4 simply have a bug, in
>which case, I also hope the bug will be fixed in a future version.

Another possibility is that, as part of the upgrade, it's now catching
things that it didn't catch before but was supposed to. I've seen XMLSpy
treat illegal DTDs as legal, usually because after replacing a parameter
entity reference with the entity value it didn't check that the resulting
combination of the entity value and the text around it was legal DTD syntax.
When I reported this bug to them, they said "thanks, we'll add it to our
list"; when I asked to see the list, they said "No." 

That being said, I just checked your document against your schema and your
friend's against his with the dom.ASBuilder utility that comes with Xerces 2
Java (see http://xml.apache.org/xerces2-j/samples-dom.html#ASBuilder) and
the stdinparse utility that comes with Xerces C++ and neither had a problem
with it. 

> Which is the right behaviour according to W3C standard ??

Can't we just look in the Schema Recommendation to find out? 

Just kidding.

Bob DuCharme            www.snee.com/bob         <bob@  
snee.com>  see http://www.snee.com/bob/xsltquickly for
info on book "XSLT Quickly" from Manning Publications.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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