TransformerIdentityImpl outputs invalid entity declarations
-----------------------------------------------------------

                 Key: XALANJ-2442
                 URL: https://issues.apache.org/jira/browse/XALANJ-2442
             Project: XalanJ2
          Issue Type: Bug
          Components: Xalan
    Affects Versions: 2.7.1
            Reporter: Mike Strauch


Using the TransformerIdentityImpl to transform something like:

{code:html}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml";>
        <head>
                <title>title</title>
        </head>
        <body>
                <p>Some text here is ok</p>
        </body>
</html>
{code}

Results in output that contains invalid entity declarations.  

Example:

{code:html}<!ENTITY %HTMLspecial PUBLIC "-//W3C//ENTITIES Special for 
XHTML//EN" >{code}

I believe there is a space missing between the '%' and the 'HTML' and this is 
causing xml validation to fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to