[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: [jira] Commented: (XMLBEANS-75) Getting <xml-fragment> as root instead of actual root element.
From: xmlbeans-dev () xml ! apache ! org
Date: 2004-10-21 14:51:15
Message-ID: 100992504.1098370275646.JavaMail.apache () nagoya
[Download RAW message or body]
The following comment has been added to this issue:
Author: Marjus Nielsen
Created: Thu, 21 Oct 2004 7:49 AM
Body:
We solved the problem.
Its probably NOT a bug, but the XML beans parser writes <xml-fragment> instead of the \
root when the document parsed does not contain a correct root.
The other problem we had when creating an XML document, was because we (by mistake) \
printed/saved the first child from the root. XML beans then creates a default root \
named <xml-fragment>.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/XMLBEANS-75?page=comments#action_54430
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XMLBEANS-75
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XMLBEANS-75
Summary: Getting <xml-fragment> as root instead of actual root element.
Type: Bug
Status: Open
Priority: Major
Project: XMLBeans
Versions:
Version 1.0.3
Assignee: Dave Remy
Reporter: Marjus Nielsen
Created: Wed, 20 Oct 2004 5:56 AM
Updated: Thu, 21 Oct 2004 7:49 AM
Environment: windows xp. Sun netbeans 3.6
Description:
We are compiling a XML schema, getting the jar files etc. Everything gets created as \
expected. When we then create an XML document everything looks fine except the root \
element of the XML document we are building. The root is always set to \
<xml-fragment>.
AND when we parse a valid XML document with a correct root name, the result is always \
an empty <xml-fragment> tag (<xml-fragment/>.
---------------------------------------------------------------------
JIRA 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
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic