You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by xm...@xml.apache.org on 2004/10/20 14:56:53 UTC

[jira] Created: (XMLBEANS-75) Getting as root instead of actual root element.

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

    Project: XMLBeans
   Versions:
             Version 1.0.3

   Assignee: 
   Reporter: Marjus Nielsen

    Created: Wed, 20 Oct 2004 5:56 AM
    Updated: Wed, 20 Oct 2004 5:56 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


[jira] Commented: (XMLBEANS-75) Getting as root instead of actual root element.

Posted by "Marjus Nielsen (JIRA)" <xm...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XMLBEANS-75?page=comments#action_55590 ]
     
Marjus Nielsen commented on XMLBEANS-75:
----------------------------------------

Yes, the problem is resolved and this subject can be closed. Thank you.

> Getting <xml-fragment>  as root instead of actual root element.
> ---------------------------------------------------------------
>
>          Key: XMLBEANS-75
>          URL: http://nagoya.apache.org/jira/browse/XMLBEANS-75
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 1.0.3
>  Environment: windows xp. Sun netbeans 3.6
>     Reporter: Marjus Nielsen
>     Assignee: Jacob Danner

>
> 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/>. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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-75) Getting as root instead of actual root element.

Posted by xm...@xml.apache.org.
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


[jira] Updated: (XMLBEANS-75) Getting as root instead of actual root element.

Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XMLBEANS-75?page=history ]

Jacob Danner updated XMLBEANS-75:
---------------------------------

    Assign To: Jacob Danner  (was: Dave Remy)

>From the comments this sounds like this has resolved itself. Is this correct? If so can we close this issue?

> Getting <xml-fragment>  as root instead of actual root element.
> ---------------------------------------------------------------
>
>          Key: XMLBEANS-75
>          URL: http://nagoya.apache.org/jira/browse/XMLBEANS-75
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 1.0.3
>  Environment: windows xp. Sun netbeans 3.6
>     Reporter: Marjus Nielsen
>     Assignee: Jacob Danner

>
> 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/>. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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-75) Getting as root instead of actual root element.

Posted by xm...@xml.apache.org.
The following comment has been added to this issue:

     Author: Dave Remy
    Created: Wed, 20 Oct 2004 12:01 PM
       Body:
Could you attach a code sample of what is not working for you? 
thanks.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/XMLBEANS-75?page=comments#action_54411

---------------------------------------------------------------------
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: Wed, 20 Oct 2004 12:01 PM
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


[jira] Closed: (XMLBEANS-75) Getting as root instead of actual root element.

Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XMLBEANS-75?page=history ]
     
Jacob Danner closed XMLBEANS-75:
--------------------------------

    Resolution: Invalid

Thanks for the quick update Marjus, closing this issue

> Getting <xml-fragment>  as root instead of actual root element.
> ---------------------------------------------------------------
>
>          Key: XMLBEANS-75
>          URL: http://nagoya.apache.org/jira/browse/XMLBEANS-75
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 1.0.3
>  Environment: windows xp. Sun netbeans 3.6
>     Reporter: Marjus Nielsen
>     Assignee: Jacob Danner

>
> 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/>. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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