You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2009/05/28 09:46:42 UTC
[jira] Created: (DOXIA-326) Xhtml sink should preserve CDATA within
Xhtml sink should preserve CDATA within <script>
------------------------------------------------
Key: DOXIA-326
URL: http://jira.codehaus.org/browse/DOXIA-326
Project: Maven Doxia
Issue Type: Bug
Components: Core, Module - Xdoc, Module - Xhtml
Affects Versions: 1.1
Reporter: Lukas Theussl
Javascript code within <script> tags has to be escaped within CDATA to make it valid xhtml. However, even though the javascript code in the following xdoc gets correctly processed (see DOXIA-154):
{code:xml}
<script type="text/javascript">
<![CDATA[Javascript code goes here]]>
</script>
{code}
the CDATA itself is removed, making the xhtml invalid.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (DOXIA-326) Xhtml sink should preserve CDATA within
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/DOXIA-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl updated DOXIA-326:
--------------------------------
Priority: Minor (was: Major)
Fix Version/s: 1.1.1
> Xhtml sink should preserve CDATA within <script>
> ------------------------------------------------
>
> Key: DOXIA-326
> URL: http://jira.codehaus.org/browse/DOXIA-326
> Project: Maven Doxia
> Issue Type: Bug
> Components: Core, Module - Xdoc, Module - Xhtml
> Affects Versions: 1.1
> Reporter: Lukas Theussl
> Priority: Minor
> Fix For: 1.1.1
>
>
> Javascript code within <script> tags has to be escaped within CDATA to make it valid xhtml. However, even though the javascript code in the following xdoc gets correctly processed (see DOXIA-154):
> {code:xml}
> <script type="text/javascript">
> <![CDATA[Javascript code goes here]]>
> </script>
> {code}
> the CDATA itself is removed, making the xhtml invalid.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (DOXIA-326) Xhtml sink should preserve CDATA within
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/DOXIA-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukas Theussl closed DOXIA-326.
-------------------------------
Assignee: Lukas Theussl
Resolution: Fixed
Fixed in [r779585|http://svn.apache.org/viewvc?view=rev&revision=779585]
Note that in order to be valid xhtml, the whole script block should be written like:
{code:xml}
<script type="text/javascript">
//<![CDATA[
Javascript code goes here
//]]>
</script>
{code}
> Xhtml sink should preserve CDATA within <script>
> ------------------------------------------------
>
> Key: DOXIA-326
> URL: http://jira.codehaus.org/browse/DOXIA-326
> Project: Maven Doxia
> Issue Type: Bug
> Components: Core, Module - Xdoc, Module - Xhtml
> Affects Versions: 1.1
> Reporter: Lukas Theussl
> Assignee: Lukas Theussl
> Priority: Minor
> Fix For: 1.1.1
>
>
> Javascript code within <script> tags has to be escaped within CDATA to make it valid xhtml. However, even though the javascript code in the following xdoc gets correctly processed (see DOXIA-154):
> {code:xml}
> <script type="text/javascript">
> <![CDATA[Javascript code goes here]]>
> </script>
> {code}
> the CDATA itself is removed, making the xhtml invalid.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira