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

Re: XML won't validate against schema

  • From: Eddie Robertsson <eddie@a...>
  • To: Martin Gudgin <marting@d...>
  • Date: Thu, 26 Apr 2001 15:13:33 +1000

validate xml with xsd
Martin Gudgin wrote:

> A few things spring to mind;
>
> 1.    XMLSpy doesn't like minOccurs='0' on the xsd:all element ( validate
> the schema doc to get this info ) ( 0 is a valid value according to the
> latest spec BTW )
>
> 2.    Valid values of maxOccurs on an xsd:all are either 0 or 1. unbounded
> is not allowed ( line 495 )
>
> 3.    All that being said, it still doesn't work although changing the
> xsd:all elements to xsd:sequence fixes the immediate problem ( and would
> allow values other than 1 or 0 for min/maxOccurs ). I suspect XMLSpy has a
> problem with xsd:all here.

I've also had validation problems with xsd:all using XML Spy. I submitted a bug
report to XML Spy but unfortunately I didn't get a response.

Cheers,
/Eddie


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.