You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by bu...@apache.org on 2002/07/15 19:35:26 UTC
DO NOT REPLY [Bug 10835] New: -
...ConfigurationHandler removes necessary blanks
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10835>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10835
...ConfigurationHandler removes necessary blanks
Summary: ...ConfigurationHandler removes necessary blanks
Product: Avalon
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Framework
AssignedTo: avalon-dev@jakarta.apache.org
ReportedBy: udo.klinkmueller@t-online.de
I'm using the Avalon Framework version 4.1.2 in conjunction with the XercesImpl
library shipped with the Java XML Pack Summer 02. Trying to build a
Configuration I use an
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder which gets
an org.xml.sax.XMLReader created by an org.apache.xerces.jaxp.SAXParserFactory.
The problem is that all blanks in the element values, also the necessary blanks,
are removed. What I could recognize is that the call back method
characters(char[], int, int) in both ConfigurationHandler classes of the package
org.apache.avalon.framework.configuration get only small pieces of bytes in the
size of 2 to 3 bytes. The first thing what is done in the method is to trim the
character piece. On this way it is very likely that nacessary blanks disappear.
Best Regards
Udo Klinm�ller
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>