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
Scott BerresSubject: App is replacing my   with whitespace
Author: Scott Berres
Date: 18 Dec 2001 09:26 AM
Does anyone know or come across the situation where stylus studio replaces all #160; with a whitespace?  
We can't use this application anymore for stylesheet creation because of this problems.

Thanks,

Posttop
Minollo I.Subject: =?iso-8859-1?Q?Re:_App_is_replacing_my_=A0_with_whitespace?=
Author: Minollo I.
Date: 18 Dec 2001 10:34 AM
Scott,
the operation which is converting your #160's in whitespaces is probably
the "indent" command; that command goes through an XML parsing operation of
your stylesheet source. Unfortunately the underlying Xerces parser doesn't
allow us to keep track of entities expressed with their numeric values:
they are silently converted into their equivalent character.
In the future we'll have to modify Xerces to make it behave as it already
does for non-numeric and non-parametric entities (which are not converted
into their equivalent character).

In your case, for the time being I can only suggest to use nbsp; rather
than #160;. Or to never use the "indent" functionality...

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.