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
Sebastien TardifSubject: Stylus Studio do not see schema declared and so do not do schema validation
Author: Sebastien Tardif
Date: 12 Nov 2004 11:23 AM
As you can see in the attached screen shot the tool do not do schema validation.


ImageStudioDoNotValidateSchema.JPG
DoNotValidateSchemaBecauseDoNotSeeThem

DocumentdocHarbor.xml
TheXMLUsed

Postnext
Ivan PedruzziSubject: Stylus Studio do not see schema declared and so do not do schema validation
Author: Ivan Pedruzzi
Date: 12 Nov 2004 12:46 PM

In the screenshot you have a WSDL document (with .xml extension) opened in the XML editor.

Are you trying to validate the WSDL syntax?

Are you trying to validate the embedded schema syntax?

Does the document have a reference to the schema location you would like to validate against?

Thanks
Ivan

Postnext
Sebastien TardifSubject: Stylus Studio do not see schema declared and so do not do schema validation
Author: Sebastien Tardif
Date: 12 Nov 2004 12:57 PM
The WSDL is attached so you can try it. The answer is yes to all your questions. I had to rename the file with extension .xml from .WSDL because your tool crash if the file finish by extension .WSDL.

Postnext
Ivan PedruzziSubject: Stylus Studio do not see schema declared and so do not do schema validation
Author: Ivan Pedruzzi
Date: 12 Nov 2004 02:39 PM
>The WSDL is attached so you
>can try it. The answer is yes

The attached document doesn't reference a schema location.
To reference a schema location you need to declare one of
following attributes

xsi:noNamespaceSchemaLocation="<schema URL>"

or

xsi:noSchemaLocation="<schema URL>"




>to all your questions. I had
>to rename the file with
>extension .xml from .WSDL
>because your tool crash if the
>file finish by extension
>.WSDL.

Strange I just tried to open a .wsdl document and I got a dialog asking
which editor i would like to use, then I picked the XML editor and it worked quite well.

When Stylus crashes it pops a message box to send the error report
Did you send it?

If you didn't could you please send the stylus.dmp file
located in the bin directory to stylus-field-report@progress.com


Thank You
Ivan

Postnext
Sebastien TardifSubject: Stylus Studio do not see schema declared and so do not do schema validation
Author: Sebastien Tardif
Date: 12 Nov 2004 02:55 PM
Thanks for the answer.

Can you confirm that there is no way
- to map namespace to a schema definition without modifing the file
- to have Stylus Studio retrieve the schema from the namespace when it's a URL

Postnext
Ivan PedruzziSubject: Stylus Studio do not see schema declared and so do not do schema validation
Author: Ivan Pedruzzi
Date: 12 Nov 2004 04:54 PM
>Thanks for the answer.
>
>Can you confirm that there is
>no way
>- to map namespace to a schema
>definition without modifing
>the file

I believe I just did.

>- to have Stylus Studio
>retrieve the schema from the
>namespace when it's a URL

A namespace URI is just a symbol even if syntactically can recall a URL.


Thank You
Ivan




Postnext
Minollo I.Subject: Re: Stylus Studio do not see schema declared and so do not do schema validation
Author: Minollo I.
Date: 14 Nov 2004 04:53 PM

>...
>Can you confirm that there is no way
>- to map namespace to a schema definition without modifing the file

In Stylus Studio 6.0 you can associate one or more XML Schemas to a project
folder; when you validate an XML document contained in that same project
folder, Stylus Studio automatically loads the XML schema documents
associated to the folder, avoiding the need of modifying your XML document(s).

Hope this helps,
Minollo

Posttop
Sebastien TardifSubject: Re: Stylus Studio do not see schema declared and so do not do schema validation
Author: Sebastien Tardif
Date: 15 Nov 2004 09:53 AM
Thanks for the useful answer. Will not be very great that have the option to let the tool go load the schema when it's a URL?

 
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-2011 All Rights Reserved.