[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Reopened: (XMLBEANS-192) Saver.java does not properly convert the Greater Than (>) to > wh
From:       "Wing Yew Poon (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2005-09-30 1:12:49
Message-ID: 988824808.1128042769957.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

     [ http://issues.apache.org/jira/browse/XMLBEANS-192?page=all ]
     
Wing Yew Poon reopened XMLBEANS-192:
------------------------------------

     Assign To: Lawrence Jones

According to the XML spec, the '>' character MUST be escaped in character data when \
it appears in the three-character sequence "]]>" and that sequence is not marking the \
end of a CDATA section. This requirement is not being followed when we call xmlText() \
from an XmlObject.


> Saver.java does not properly convert the Greater Than (>) to &gt; when it is \
>                 contains inside an element or attribute.
> ---------------------------------------------------------------------------------------------------------------------
>  
> Key: XMLBEANS-192
> URL: http://issues.apache.org/jira/browse/XMLBEANS-192
> Project: XMLBeans
> Type: Bug
> Versions: Version 2
> Environment: Windows XP
> Reporter: Stephen Cole
> Assignee: Lawrence Jones
> Fix For: Version 2.1

> 
> Saver.java does not properly convert the Greater Than (>) sign to &gt; when it is \
> contains inside an element or attribute. However it seems to correctly convert the \
> &, < symbols correctly. For example if have following fragment of input XML:
> <FareDisplayOptions>
> <PF2 PF2Ind="<>" PF3Allow="<>" PF3Rule="<>"
> </PF2>
> </FareDisplayOptions>
> It gets converted to: (Notice that the < gets converted correclty, but the > does \
> not) <FareDisplayOptions>
> <PF2 PF2Ind="&lt;>" PF3Allow="&lt;>" PF3Rule="&lt;>"
> </PF2>
> </FareDisplayOptions>

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic