[jira] Created: (XMLBEANS-231) Parsing embedded xml to cdata

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (XMLBEANS-231) Parsing embedded xml to cdata

by JIRA xmlbeans-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Parsing embedded xml to cdata
-----------------------------

         Key: XMLBEANS-231
         URL: http://issues.apache.org/jira/browse/XMLBEANS-231
     Project: XMLBeans
        Type: Bug
    Versions: Version 2.1    
 Environment: Windows XP, Sun One 7, XmlBeans 2.10
    Reporter: Ricardo


I am parsing an xml document  which has another xml document, but the xml which is into the first xml is escaped, I mean :
 <?xml version="1.0" ?>

I am calling to XmlObject.factory.parse with the xml as a string and I am gettin the xml which is embedded as a CDATA section and the characters <, " and >, but I don't want a CDATA section neither the tags, so I want the xml as is in the string.

I have been looking in Jira but I haven't got the solution, I am working with xmlbeans 2.1, but I don't know what to do to get this.
Thank you.

--
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@...
For additional commands, e-mail: dev-help@...


[jira] Commented: (XMLBEANS-231) Parsing embedded xml to cdata

by JIRA xmlbeans-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    [ http://issues.apache.org/jira/browse/XMLBEANS-231?page=comments#action_12359363 ]

Radu Preotiuc-Pietro commented on XMLBEANS-231:
-----------------------------------------------

Hm, can't you just get the second XML document as a String like

String innerXmlDoc = enclosingDoc.getXXX();
XmlObject innerXmlObject = XmlObject.Factory.parse(innerXmlDoc);

I guess I don't clearly see where the difficulty is.


> Parsing embedded xml to cdata
> -----------------------------
>
>          Key: XMLBEANS-231
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-231
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 2.1
>  Environment: Windows XP, Sun One 7, XmlBeans 2.10
>     Reporter: Ricardo

>
> I am parsing an xml document  which has another xml document, but the xml which is into the first xml is escaped, I mean :
>  <?xml version="1.0" ?>
> I am calling to XmlObject.factory.parse with the xml as a string and I am gettin the xml which is embedded as a CDATA section and the characters <, " and >, but I don't want a CDATA section neither the tags, so I want the xml as is in the string.
> I have been looking in Jira but I haven't got the solution, I am working with xmlbeans 2.1, but I don't know what to do to get this.
> Thank you.

--
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@...
For additional commands, e-mail: dev-help@...


[jira] Closed: (XMLBEANS-231) Parsing embedded xml to cdata

by JIRA xmlbeans-dev@xml.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/XMLBEANS-231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Danner closed XMLBEANS-231.
---------------------------------

    Resolution: Incomplete

No word back on this one since 05, closing

> Parsing embedded xml to cdata
> -----------------------------
>
>                 Key: XMLBEANS-231
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-231
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.1
>         Environment: Windows XP, Sun One 7, XmlBeans 2.10
>            Reporter: Ricardo
>
> I am parsing an xml document  which has another xml document, but the xml which is into the first xml is escaped, I mean :
>  <?xml version="1.0" ?>
> I am calling to XmlObject.factory.parse with the xml as a string and I am gettin the xml which is embedded as a CDATA section and the characters <, " and >, but I don't want a CDATA section neither the tags, so I want the xml as is in the string.
> I have been looking in Jira but I haven't got the solution, I am working with xmlbeans 2.1, but I don't know what to do to get this.
> Thank you.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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