When I insert a document using my xindice function that calls using XML-RPC I need a CDATA section as follows:

        xindice.Insert( String( "/db/test"), String( "mydoc"), String( "<![CDATA[<root><doc>something</doc></root>]]>"));

Without the CDATA section I get a document parse error since the XML tags are not visible.

      Document doc = DOMParser.toDocument((String) message.get(DOCUMENT));

Specifically the message.get(DOCUMENT) line returns the incorrect data.  Is this an intended feature?  BTW I checked to see if this was an XMLRPC failure, but the XMLRPC call includes the XML tags.

Christian Gross
Software Engineering Consultant / Trainer
http://www.devspace.com
North America: 1-450-675-4208
Europe: +41.1.701.1166

Reply via email to