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: schema changes not noticed by xml editor
Author: Bruce Wallace
Date: 09 Feb 2002 01:48 PM
I seem to consistently have a problem getting XML documents being edited to notice that their associated schema was changed in another window.
I.E. when I edit my schema and go to the window for my xml document and look at its schema tab, the changes are not reflected. Sometimes I can get it to update by pressing the lightning (refresh) button, and other times by physically saving the schema to disk, but eventually the continuing changes just cant be made to be noticed by the xml doc window. The only workaround I've found is to entirely shutdown Sty.Stud. and reopen everything.
This is non-optimal. ;-)

Postnext
(Deleted User) Subject: Re: schema changes not noticed by xml editor
Author: (Deleted User)
Date: 09 Feb 2002 02:48 PM
At 13.58 09/02/2002 -0500, you wrote:
>From: "Bruce Wallace"
>
>I seem to consistently have a problem getting XML documents being edited
>to notice that their associated schema was changed in another window.
>I.E. when I edit my schema and go to the window for my xml document and
>look at its schema tab, the changes are not reflected. Sometimes I can get
>it to update by pressing the lightning (refresh) button, and other times
>by physically saving the schema to disk, but eventually the continuing
>changes just cant be made to be noticed by the xml doc window. The only
>workaround I've found is to entirely shutdown Sty.Stud. and reopen everything.

You can try using the Edit | Reload Document menu command

Alberto

Postnext
Bruce WallaceSubject: Re: schema changes not noticed by xml editor
Author: Bruce Wallace
Date: 09 Feb 2002 05:03 PM
I dont have an Edit | reload menu command
(or a reload command under any menu) ??
[my EDIT menu goes from "Indent XML tags" to
"go to..."]

Postnext
Ivan PedruzziSubject: RE: schema changes not noticed by xml editor
Author: Ivan Pedruzzi
Date: 10 Feb 2002 01:12 PM

The reload command is part of the internal build, but it didn't make it
for 69l

Ivan Pedruzzi
eXcelon Corporation
http://www.stylusstudio.com



> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager]
> Sent: Saturday, February 09, 2002 5:13 PM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: Re: schema changes not noticed by xml editor
>
>
> From: "Bruce Wallace"
>
> I dont have an Edit | reload menu command
> (or a reload command under any menu) ??
> [my EDIT menu goes from "Indent XML tags" to
> "go to..."]
>
>
>
> To reply: mailto:stylus-studio-tech.4624@edn.exceloncorp.com
> To start a new topic: mailto:stylus-studio-tech@edn.exceloncorp.com
> To login: http://edn.exceloncorp.com/~SSDN
>
>

Postnext
Bruce WallaceSubject: schema changes not noticed by xml editor
Author: Bruce Wallace
Date: 09 Feb 2002 05:27 PM
P.S. I have a theory as to when this may happen.
It seems that hitting the "validate" button on a schema definition and getting an "ok" result doesnt really mean that it is a legal schema.
I often dont get a complaint about the schema until I try and validate an XML doc against it.
I suspect that when there is one of these "silent" schema errors it causes the XML doc window to not receive/process the schema update. (again, just a theory).

P.P.S Im sure there must be a good reason why
schemas "validate ok" even tho you get complaints only after trying to use them (?)

Posttop
(Deleted User) Subject: Re: schema changes not noticed by xml editor
Author: (Deleted User)
Date: 11 Feb 2002 08:29 AM
At 17.37 09/02/2002 -0500, you wrote:
>From: "Bruce Wallace"
>
>P.S. I have a theory as to when this may happen.
>It seems that hitting the "validate" button on a schema definition and
>getting an "ok" result doesnt really mean that it is a legal schema.
>I often dont get a complaint about the schema until I try and validate an
>XML doc against it.
>I suspect that when there is one of these "silent" schema errors it causes
>the XML doc window to not receive/process the schema update. (again, just
>a theory).
>
>P.P.S Im sure there must be a good reason why
>schemas "validate ok" even tho you get complaints only after trying to use
>them (?)

Bruce, when you press the button to validate an XMLSchema definition,
Stylus Studio validates it against the DTD published in the specs. This
ensure that an XMLSchema that fails this validation step is not a valid
XMLSchema document (as the specs puts it, "Although this DTD is
non-normative, any XML document which is not valid per this DTD, [...] is
almost certainly not a valid schema document.")
However, there are some checking that DTD-based validation is not able to
perform, and that the XMLSchema specs needs (i.e. given two optional
attributes, ensure that they are not both present); we are working to
improve the validation routine to perform this kind of checks.

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.