avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10835] New: - ...ConfigurationHandler removes necessary blanks
Date Mon, 15 Jul 2002 17:35:26 GMT
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:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message