You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Mike Strauch (JIRA)" <xa...@xml.apache.org> on 2008/04/17 17:25:21 UTC

[jira] Created: (XALANJ-2442) TransformerIdentityImpl outputs invalid entity declarations

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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org