[OS-JIRA] Created: (WOL-1191) Reformat html deletes CDATA

"D Tim Cummings (JIRA)" <[email protected]> Wed, 24 Nov 2010 02:46:19 +0000 (UTC)
Newsgroups gmane.comp.web.webobjects.woproject.devel
Message-ID <32290842.794.1290566779506.JavaMail.tomcat@karma>
Reformat html deletes CDATA
---------------------------

                 Key: WOL-1191
                 URL: http://issues.objectstyle.org/jira/browse/WOL-1191
             Project: WOProject/WOLips
          Issue Type: Bug
          Components: WOLips General
    Affects Versions: WOLips Stable
         Environment: WOLips36Stable 3.6.6081, Mac OS X 10.6.5 Intel, eclipse 3.6.1 (build id 20100617-1415)
            Reporter: D Tim Cummings


I have the following in the WOComponent html file

<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env = "http://schemas.xmlsoap.org/soap/envelope/">
  <soap-env:Body>
    <eg:example xmlns:eg = "http://example.com" >
      <![CDATA[my <b>html></b> snippet]]>
    </eg:example>
  </soap-env:Body>
</soap-env:Envelope>

Once I hit cmd-shift-f I get

<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env = "http://schemas.xmlsoap.org/soap/envelope/">
  <soap-env:Body>
    <eg:example xmlns:eg = "http://example.com">
    </eg:example>
  </soap-env:Body>
</soap-env:Envelope>

Note that the CDATA has been completely deleted.  I would expect the CDATA to be left untouched by the reformat process.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira