Just FYI - this is why the W3C introduced the annotation element and
approach with XSD.

DW

-----Original Message-----
From: Cezar Andrei (JIRA) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 22, 2006 11:18 AM
To: [EMAIL PROTECTED]
Subject: [jira] Updated: (XMLBEANS-296) Xml comments are ignored by
XmlBeans

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

Cezar Andrei updated XMLBEANS-296:
----------------------------------


Comments are not associated with any sibling elements, so removing any
of the sibling elements will no remove the comment.
You need to explicitly delete the comment. The comments will only get
deleted if their parent element is deleted.

> Xml comments are ignored by XmlBeans
> ------------------------------------
>
>                 Key: XMLBEANS-296
>                 URL: http://issues.apache.org/jira/browse/XMLBEANS-296
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.1
>         Environment: WindowsXp + JDK1.5.0-6
>            Reporter: Auber Lin
>            Priority: Blocker
>
> When a xml file contains some comments like <!--comment statements-->,
these comments are not included into the document object created by
xmlbeans. so if an application accessing xml file using xmlbeans, there
is no way for it to modify or delete these already-existed comments.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to