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
Jay StrangeSubject: Stylus Studio reports invalid schema
Author: Jay Strange
Date: 16 Jan 2007 08:03 AM
Hi,

I'm using Stylus Studio Professional 2007 build 735f.

When I validate the attached instance test.xml against the schema test.xsd, Stylus Studio reports:

file:///.../test.xsd:12,36: The type 'xs:anyType' specified as the base in the simpleContent element must not have complexContent

Is this a Stylus Studio bug or a schema defect?

Both schema and instance validate in Xerces 2.9 (with schema-full-checking), with MSXML 4.0 and 6.0 and with Alphaworks' SchemaQualityChecker.

(I know I can workaround by changing the schema modeling. This issue came up with a a generated schema.)

Thanks,

Jay


Documenttest(16).xml
sample instance

Unknowntest(4).xsd
sample schema

Postnext
(Deleted User) Subject: Re: Stylus Studio reports invalid schema
Author: (Deleted User)
Date: 17 Jan 2007 02:29 PM
Hi Jay,
it looks like an error in the Xerces-C++ schema validator; you should
select a different validator (e.g. Xerces-J) when working with such a schema.

Hope this helps,
Alberto

Postnext
Jay StrangeSubject: Re: Stylus Studio reports invalid schema
Author: Jay Strange
Date: 18 Jan 2007 05:30 AM
Hi Alberto,

thanks. Can you tell me which version of Xerces-C++ you bundle with build 735f so I can file a bug report with Apache?

Thanks, Jochen

Posttop
(Deleted User) Subject: Re: Stylus Studio reports invalid schema
Author: (Deleted User)
Date: 18 Jan 2007 07:26 AM
Hi Jay,
it's basically version 2.7, plus the bug fixes that have been
committed to the SVN repository since the release.

Alberto

 
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.