Sorry, stanimir, did I post to your personal address?
I thought replies would automatically be routed to the group?

sonja


Am Donnerstag, den 22.09.2005, 20:15 +0300 schrieb Stanimir Stamenkov:
> /Sonja Löhr/:
> > Am Donnerstag, den 22.09.2005, 15:04 +0300 schrieb Stanimir Stamenkov:
> >
> >> <http://xml.apache.org/xalan-j/usagepatterns.html#outputprops> 
> >
> > Isn't there any class one could extend to influence escaping, perhaps 
> > some XyzResolver ?
> > I always have trouble with decimal entities in the source xml, since in 
> > the output I have things like
> >  &amp;#252;
> 
> What kind of troubles? Did you mean &#252; above? It shouldn't 
> matter whether the character reference code is in decimal or 
> hexadecimal form. AFAIK older processors (mostly Web browsers) could 
> have troubles interpreting the hexadecimal form which I guess is the 
> reason for the Xalan developers to choose the default decimal form.
> 
> > I already wrote NoEscapeXYZ classes for jdom XMLOutputter and 
> > commons.betwix.Beanwriter, for xalan there is no such possibility?
> 
> I don't know if there's property to configure character references 
> to be written in hexadecimal form. I haven't tried but I guess one 
> could configure an "entities" file where instead of general entity 
> names, the keys are the hexadecimal form of the character reference, 
> like:
> 
> #x20AC=8364
> 
> But filling an entry for every single code would be too inefficient.
> 
-- 
Sonja Löhr <[EMAIL PROTECTED]>

Reply via email to