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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to