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=20482>.
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=20482

Handling whitespace in XML-RPC  call arguments

           Summary: Handling whitespace in XML-RPC  call arguments
           Product: XML-RPC
           Version: 1.1
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Source
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I've got an application that performs an XML-RPC call that contains an argument 
that is an array of strings. I encountered a problem when a string in the array 
is set to all spaces, when the actual method call is invoked the string is 
empty. It no longer contains the spaces. 

I did a little debugging and found that the removal of the spaces occured 
within the default XML parser, MinML. 

Using a test program and running MinML outside of XML-RPC I found that the 
parser was not emiting characters if an element contained only spaces. Running 
my simple test file through other parsers (xerces and Piccolo), these programs 
did emit the spaces. 

Example file contained

<t1>    </t1>

Reply via email to