[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Assigned: (XMLBEANS-200) XmlObject node copy yields IllegalArgumentException: DocumentWrapper
From:       "Yana Kadiyska (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2005-09-23 20:54:47
Message-ID: 951117325.1127508887169.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

     [ http://issues.apache.org/jira/browse/XMLBEANS-200?page=all ]

Yana Kadiyska reassigned XMLBEANS-200:
--------------------------------------

    Assign To: Yana Kadiyska

> XmlObject node copy yields IllegalArgumentException: DocumentWrapper#wrap in Saxon \
>                 on further XPath executions of copied node
> -----------------------------------------------------------------------------------------------------------------------------
>  
> Key: XMLBEANS-200
> URL: http://issues.apache.org/jira/browse/XMLBEANS-200
> Project: XMLBeans
> Type: Bug
> Components: XPath
> Versions: Version 2
> Environment: Windows XP, Saxon 8.1, Java 1.4_05, XmlBeans 2.0
> Reporter: Brian Rafalowski
> Assignee: Yana Kadiyska
> Fix For: Version 2
> Attachments: XPathCopy.zip
> 
> A selectPath(Query)  returns a child node of the wrapped document.  The child node \
> is then copied with the XmlObject.copy() method. My application requires a copy of \
> the child node since it will be passed into a Threaded application which has no \
> need to modify the resulting XML. The Child node has further children that I would \
> like to use XPath queries to pull the desired node. However, when I issue a select \
>                 path on the returned child node, I get the following error:
> java.lang.IllegalArgumentException: DocumentWrapper#wrap: supplied node does not \
> belong to the wrapped DOM document I do not wish to construct a new XML document \
> for the Child (and its children) to pass into my application. I just need the \
> fragment to query, as the XML just represents "ini" type information.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic