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
Bruce WallaceSubject: Schemas not recognized ?
Author: Bruce Wallace
Date: 05 Feb 2002 08:54 PM
I've just downloaded this program (so maybe this is a newbie problem) BUT when I open foo.xsd the program doesnt recognize it as a Schema.
If I create a new empty schema doc and paste in the contents of foo then Sty.Stud. is happy. !?

Also, when I open foo.xml that references foo.xsd, S.S. doesnt make the connection between the two docs unless I manually use the menu item XML->Associate with Schema command. You've got to be kidding? What's the trick to get S.S. to recognize these things automatically?

Postnext
Minollo I.Subject: Re: Schemas not recognized ?
Author: Minollo I.
Date: 05 Feb 2002 09:28 PM
Bruce,
as you haven't attached the Schema file which is creating you troubles,
I can only try guessing.

Are you sure that your XML Schema is using the final version of the W3C XML
Schema namespace? Your XML Schema document should start with something
similar to:
{xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"}
(where { == < and } == >)

If the namespace URI you see is different, than you are either using an old
version of XML Schema document (possibly not compatible with the W3C final
version of XML Schema), or you are not using a W3C XML Schema at all.

Hope this helps,
Minollo

Postnext
Bruce WallaceSubject: Re: Schemas not recognized ?
Author: Bruce Wallace
Date: 06 Feb 2002 09:16 AM
The only difference was that the original .xsd did not have the first line:

which I thought was not required since the latest version of XERCES and XALAN (from Apache) did not give any complaints or warnings that it was missing when they validated my docs with it.

Postnext
Bruce WallaceSubject: Re: Schemas not recognized ?
Author: Bruce Wallace
Date: 06 Feb 2002 09:18 AM
The only difference was that the original .xsd did not have the first line:
...xml version="1.0"... (excelon ought to get better message board software that can convert text to HTML!)
which I thought was not required since the latest version of XERCES and XALAN (from Apache) did not give any complaints or warnings that it was missing when they validated my docs with it.

Postnext
Alberto MassariSubject: Re: Schemas not recognized ?
Author: Alberto Massari
Date: 06 Feb 2002 10:32 AM
At 09.28 06/02/2002 -0500, you wrote:
>From: "Bruce Wallace"
>
>The only difference was that the original .xsd did not have the first line:
>...xml version="1.0"... (excelon ought to get better message board
>software that can convert text to HTML!)
>which I thought was not required since the latest version of XERCES and
>XALAN (from Apache) did not give any complaints or warnings that it was
>missing when they validated my docs with it.

Bruce, I don't think that the missing xml header can make a difference. Can
you please post the foo.xsd file (or e-mail it at my address)?

Thanks,

Alberto

Posttop
Minollo I.Subject: Re: Schemas not recognized ?
Author: Minollo I.
Date: 07 Feb 2002 06:08 PM
This was a problem related to a bad handling of the UTF-8 BOM in the file
Bruce was using.
The problem has been fixed in 3.1 BL69l, now available on:
http://www.stylusstudio.com/update

Thanks for your help,
Minollo

 
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.