You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Luc Maisonobe (JIRA)" <ji...@codehaus.org> on 2008/04/19 21:22:55 UTC

[jira] Created: (DOXIA-237) add a way to use standard HTML4/XHTML entities like α ∞ ∇ ...

add a way to use standard HTML4/XHTML entities like &alpha; &infin; &nabla; ...
-------------------------------------------------------------------------------

                 Key: DOXIA-237
                 URL: http://jira.codehaus.org/browse/DOXIA-237
             Project: Maven Doxia
          Issue Type: Improvement
          Components: Module - Xdoc, Module - Xhtml
         Environment: GNU/Linux
            Reporter: Luc Maisonobe


Trying to use standards entities in a xdoc file for xhtml generation seems impossible now.
If I put the entities as is in the file, I get an error at site generation because the entity is not known to Doxia. I did not find any way to declare the few entities I use, and since the xhtml generated is ISO8859-1 encoded, there would be a problem afterwards because they do not belong to this encoding.
If I try to escape the '&' character, either by using &amp;nabla; or <![CDATA[&nabla;]]>, the escape works well at site generation step, but is still there in the generated xhtml (on both cases I end up with &amp;nabla;).
I would like to have some intermediate behaviour, escaping a '&' from doxia parser but having it put verbatim in the generated xhtml file.
I am completely blocked here.

-- 
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-237) add a way to use standard HTML4/XHTML entities like α ∞ ∇ ...

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed DOXIA-237.
-------------------------------

         Assignee: Lukas Theussl
       Resolution: Fixed
    Fix Version/s: 1.0-beta-1

This should be fixed in beta-1 with DOXIA-155.

> add a way to use standard HTML4/XHTML entities like &alpha; &infin; &nabla; ...
> -------------------------------------------------------------------------------
>
>                 Key: DOXIA-237
>                 URL: http://jira.codehaus.org/browse/DOXIA-237
>             Project: Maven Doxia
>          Issue Type: Improvement
>          Components: Module - Xdoc, Module - Xhtml
>         Environment: GNU/Linux
>            Reporter: Luc Maisonobe
>            Assignee: Lukas Theussl
>             Fix For: 1.0-beta-1
>
>
> Trying to use standards entities in a xdoc file for xhtml generation seems impossible now.
> If I put the entities as is in the file, I get an error at site generation because the entity is not known to Doxia. I did not find any way to declare the few entities I use, and since the xhtml generated is ISO8859-1 encoded, there would be a problem afterwards because they do not belong to this encoding.
> If I try to escape the '&' character, either by using &amp;nabla; or <![CDATA[&nabla;]]>, the escape works well at site generation step, but is still there in the generated xhtml (on both cases I end up with &amp;nabla;).
> I would like to have some intermediate behaviour, escaping a '&' from doxia parser but having it put verbatim in the generated xhtml file.
> I am completely blocked here.

-- 
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] Commented: (DOXIA-237) add a way to use standard HTML4/XHTML entities like α ∞ ∇ ...

Posted by "Luc Maisonobe (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131430#action_131430 ] 

Luc Maisonobe commented on DOXIA-237:
-------------------------------------

since my issue deals with html entities, it's rendering in this JIRA page does not reflect what I tried to explain. Even looking at the source of the page is not what I wrote in the form :-(
I will repeat below the phrase that has been crippled, but replacing the ampersand characters by at characters to avoid rendering issues.

If I try to escape the '@' character, either by using @ampersand;nabla; or <![CDATA[@nabla;]]>, the escape ...

Hope this is clear enough.

> add a way to use standard HTML4/XHTML entities like &alpha; &infin; &nabla; ...
> -------------------------------------------------------------------------------
>
>                 Key: DOXIA-237
>                 URL: http://jira.codehaus.org/browse/DOXIA-237
>             Project: Maven Doxia
>          Issue Type: Improvement
>          Components: Module - Xdoc, Module - Xhtml
>         Environment: GNU/Linux
>            Reporter: Luc Maisonobe
>
> Trying to use standards entities in a xdoc file for xhtml generation seems impossible now.
> If I put the entities as is in the file, I get an error at site generation because the entity is not known to Doxia. I did not find any way to declare the few entities I use, and since the xhtml generated is ISO8859-1 encoded, there would be a problem afterwards because they do not belong to this encoding.
> If I try to escape the '&' character, either by using &amp;nabla; or <![CDATA[&nabla;]]>, the escape works well at site generation step, but is still there in the generated xhtml (on both cases I end up with &amp;nabla;).
> I would like to have some intermediate behaviour, escaping a '&' from doxia parser but having it put verbatim in the generated xhtml file.
> I am completely blocked here.

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