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
Lee MandellSubject: entity expansion
Author: Lee Mandell
Date: 29 Mar 2002 11:22 AM
Whenever I use the Indent XML feature or modify an XML document in the tree view my entity declarations get expanded and replaced with the files they point to.

Is there a way to prevent this?

I have attached a before and after file to demonstrate


DocumentSampleBefore.xml


DocumentSampleAfter.xml

Postnext
Alberto MassariSubject: Re: entity expansion
Author: Alberto Massari
Date: 29 Mar 2002 01:40 PM
Hi Lee,

At 11.34 29/03/2002 -0500, you wrote:
>From: "Lee Mandell"
>
>Whenever I use the Indent XML feature or modify an XML document in the
>tree view my entity declarations get expanded and replaced with the files
>they point to.
>
>Is there a way to prevent this?

It's a bug that has been fixed since Stylus 3.1 bl69g. If you are using a
previous version, please upgrade to the latest one (available at
http://www.stylusstudio.com/update ) and let us know if it solves this problem.

Alberto

Postnext
Lee MandellSubject: Re: entity expansion
Author: Lee Mandell
Date: 02 Apr 2002 04:38 PM
Alberto,

I was running 3.1 69t and I just upgraded to 69u and I am still having the problem. Let me know what additional information I can get you to help you track the problem down.

Lee

Posttop
Alberto MassariSubject: Re: entity expansion
Author: Alberto Massari
Date: 03 Apr 2002 10:42 AM
At 16.49 02/04/2002 -0500, you wrote:
>From: "Lee Mandell"
>
>Alberto,
>
>I was running 3.1 69t and I just upgraded to 69u and I am still having the
>problem. Let me know what additional information I can get you to help you
>track the problem down.

Hi Lee,
by reading your mail more carefully, I now notice that you are talking
about two different scenarios (indenting the XML and manipulating it in the
tree view). Studio 3.1 bl69g fixed the "Indent XML" scenario, so that it
preserves any external entity reference; unfortunately the XML tree view
(as well as the DTD view) manipulates the DOM tree, that, at that time, was
not updated with the instrumentation needed to preserve the external entity
references during the serialization phase.

As a workaround for the time being, you can either:
a) move the internal subset into an external DTD file (recommended);
b) download and install the current Stylus 4.0 beta version (you would hit
another bug in the serialization of unparsed entities, however);
c) wait for the release of Stylus 3.1 bl69v

Hope this helps,

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.