You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "David Jencks (JIRA)" <xm...@xml.apache.org> on 2005/04/03 04:43:19 UTC
[jira] Created: (XMLBEANS-139) Enough XmlCursor manipulation can break an XmlObject
Enough XmlCursor manipulation can break an XmlObject
----------------------------------------------------
Key: XMLBEANS-139
URL: http://issues.apache.org/jira/browse/XMLBEANS-139
Project: XMLBeans
Type: Bug
Versions: Version 2 Beta 1
Reporter: David Jencks
Attachments: XmlCursorManipulationTest.java, connector_1_5.xsd, xmlconfig.xml
Enough XmlCursor manipulation can result in an XmlObject that will not validate. Writing it out to a string and reparsing results in a valid document. Test case attached, together with a needed schema and the config to compile the schema with. This is a problem only with v2: this manipulation works fine with v1.
--
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
-
If you want more information on JIRA, or have a bug to report 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
[jira] Commented: (XMLBEANS-139) Enough XmlCursor manipulation can break an XmlObject
Posted by "David Jencks (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-139?page=comments#action_66137 ]
David Jencks commented on XMLBEANS-139:
---------------------------------------
The problems I reported seem to be gone after this update. Many thanks!
> Enough XmlCursor manipulation can break an XmlObject
> ----------------------------------------------------
>
> Key: XMLBEANS-139
> URL: http://issues.apache.org/jira/browse/XMLBEANS-139
> Project: XMLBeans
> Type: Bug
> Versions: Version 2 Beta 1
> Reporter: David Jencks
> Assignee: Yana Kadiyska
> Attachments: XmlCursorManipulationTest.java, connector_1_5.xsd, xmlconfig.xml
>
> Enough XmlCursor manipulation can result in an XmlObject that will not validate. Writing it out to a string and reparsing results in a valid document. Test case attached, together with a needed schema and the config to compile the schema with. This is a problem only with v2: this manipulation works fine with v1.
--
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
[jira] Updated: (XMLBEANS-139) Enough XmlCursor manipulation can break an XmlObject
Posted by "David Jencks (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-139?page=history ]
David Jencks updated XMLBEANS-139:
----------------------------------
Attachment: XmlCursorManipulationTest.java
xmlconfig.xml
connector_1_5.xsd
The sun schema does not have an asf license, but there does not seem to be a problem including it in apache svn or distributing it with apache projects.
> Enough XmlCursor manipulation can break an XmlObject
> ----------------------------------------------------
>
> Key: XMLBEANS-139
> URL: http://issues.apache.org/jira/browse/XMLBEANS-139
> Project: XMLBeans
> Type: Bug
> Versions: Version 2 Beta 1
> Reporter: David Jencks
> Attachments: XmlCursorManipulationTest.java, connector_1_5.xsd, xmlconfig.xml
>
> Enough XmlCursor manipulation can result in an XmlObject that will not validate. Writing it out to a string and reparsing results in a valid document. Test case attached, together with a needed schema and the config to compile the schema with. This is a problem only with v2: this manipulation works fine with v1.
--
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
-
If you want more information on JIRA, or have a bug to report 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
[jira] Resolved: (XMLBEANS-139) Enough XmlCursor manipulation can break an XmlObject
Posted by "Cezar Andrei (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-139?page=all ]
Cezar Andrei resolved XMLBEANS-139:
-----------------------------------
Resolution: Fixed
David, I just checked in a fix related to this bug, can you check if your problem is solved?
> Enough XmlCursor manipulation can break an XmlObject
> ----------------------------------------------------
>
> Key: XMLBEANS-139
> URL: http://issues.apache.org/jira/browse/XMLBEANS-139
> Project: XMLBeans
> Type: Bug
> Versions: Version 2 Beta 1
> Reporter: David Jencks
> Assignee: Yana Kadiyska
> Attachments: XmlCursorManipulationTest.java, connector_1_5.xsd, xmlconfig.xml
>
> Enough XmlCursor manipulation can result in an XmlObject that will not validate. Writing it out to a string and reparsing results in a valid document. Test case attached, together with a needed schema and the config to compile the schema with. This is a problem only with v2: this manipulation works fine with v1.
--
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