xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Volkov <o...@unicorn.kiev.ua>
Subject Is this a bug? (numbered entity references in produced HTML)
Date Tue, 01 Feb 2005 11:20:45 GMT
Hello, developers

Problem: HTML formatter writes numbered entity references instead
of characters in output encoding (specified in "xsl:output" tag),
despite the fact that output encoding supports these characters.

Formatter writes numbered entity reference for the character if
the character is greater than the maximum character for the
encoding (m_maxCharacter), which is always 0x7F for non-standard
encodings (XalanTranscodingServices::getMaximumCharacterValue).
This makes HTML documents incredibly large when custom encoding,
added with XMLTransService::addEncoding() is used. Produced
documents contain numbered entity reference for every
locale-specific character, because they all have codes >0x007Fu.

If this is a bug, can somebody register it? I couldn't do this
through JIRA web interface.

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org


Mime
View raw message