Unfortunately I've been away and not attending to this list so I'm trying
to clear the backlog.

The test below fails (interestingly enough) if the XML to be inserted
contains an XML processing instruction (as yours does).

e.g.

<![CDATA[
    <?xml version="1.0"?>
    <root>
       .....
]]>

A quick fix will not be forthcoming but I will try and perform an
investigation in the next few days. In the meantime I think you'll have to
write out the file and then read it back into XMLTask.

Brian

On Fri, October 5, 2007 17:08, Holger Rauch wrote:
> Hi Brian,
>
> first of all, thanks for your quick reply. What's different from your test
> is that my property contains a complete XML document (see below). Any
> idea?
>
> Thanks in advance for any info!
>
> Kind regards,
>
>       Holger
>
> =====================================================================<?xml
> version="1.0" encoding="UTF-8"?>
> <result:sequence xmlns:result="http://saxon.sf.net/xquery-results";
>                  xmlns:xs="http://www.w3.org/2001/XMLSchema";
>                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>   <result:element>
>     <module id="mod-heitec.core" base-set="1" build-order="1">
>       <name lang="en">HEITEC CORE</name>
>       <resource-list svn-base-dir="heitec"/>
>     </module>
>   </result:element>
>   <result:element>
>     <module id="mod-heitec.2jee.core" base-set="1" build-order="2">
>       <name lang="en">HEITEC J2EE CORE</name>
>       <resource-list svn-base-dir="heitec-j2ee-core"/>
>     </module>
>   </result:element>
>   <result:element>
>     <module id="mod-cache" base-set="1" build-order="3" persisted="1">
>       <shortname>CACHE</shortname>
>       <name lang="en">CACHE</name>
>       <resource-list svn-base-dir="cache"/>
>     </module>
>   </result:element>
> </result:sequence>
>
> ============================================================================>
> [...]
>> which works out of the box. Does your property evaluate to XML with a
>> root
>> node ?
>


-- 
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to