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
mathan kumarSubject: This schema doesn't appear to be valid by itself
Author: mathan kumar
Date: 05 Jan 2006 07:51 AM
Originally Posted: 05 Jan 2006 07:45 AM
Hi, I am getting the following error while saving Debit_CN.xsd.Plz help me to proceed further. " This schema doesn't appear to be valid by itself (as part of another schema, it might still be OKUnexpected element 'xs:element' in element 'xs:complexType' " I have given a reference to one more schema DataTypeSchema.xsd.


DocumentDebit_CN.xsd
Debit_CN.xsd

DocumentDataTypeSchema.xsd
DataTypeSchema.xsd

Postnext
Tony LavinioSubject: This schema doesn't appear to be valid by itself
Author: Tony Lavinio
Date: 05 Jan 2006 09:58 AM
DataTypeSchema.xsd contains a number of errors that should be fixed
before relying on it. Using the green "validate" button will catch
these and inform you of them.

For example, xs:byte is restricted in several places with xs:minLength
and xs:maxLength, but these are not valid facets for xs:byte. Instead,
xs:totalDigits should be used. smallint is set to be based on xs:byte,
but with xs:fractionDigits set to 3, when bytes cannot have fractions.

Debit_CN.xsd also had problems, with missing xs:sequence wrappers
around complex content.

This looks like is was written by hand. Are you using Stylus Studio's
XML Schema editor? It produces only syntactically valid code, and also
lets you validate the schema with a number of schema checkers.

I've posted the corrected schemas - at least I've posted valid schemas.
There may be differences between the changes I made to make them valid
and how you wish them to behave, but I did the best I could without
documentation.


DocumentDataTypeSchema(1).xsd


UnknownDebit_CN(1).xsd

Postnext
mathan kumarSubject: This schema doesn't appear to be valid by itself
Author: mathan kumar
Date: 05 Jan 2006 11:51 AM
Tony,
Thanks a lot for your updates.
Debit_CN.xsd and DataTypeSchema.xsd is working fine for my application.
Could you please list some of the schema checkers.

Posttop
Tony LavinioSubject: This schema doesn't appear to be valid by itself
Author: Tony Lavinio
Date: 05 Jan 2006 12:31 PM
They are all installed within Stylus Studio, under the green validate
button. If you're not using it already (which you should be, since
you're asking the question on the Stylus Studio Developers Network ;) )
then you can download an evaluation copy at
http://www.stylusstudio.com/xml_download.html

 
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.