cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-2015) Doctype added twice because root element (html) is inlined
Date Wed, 21 Feb 2007 14:16:05 GMT

     [ https://issues.apache.org/jira/browse/COCOON-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexander Klimetschek updated COCOON-2015:
------------------------------------------

    Attachment: cocoon-html-impl_cleanuptransformer_fix-doctype-twice.patch

Patch as described. Affects only cocoon-html-impl / CleanupTransformer.java

> Doctype added twice because root element (html) is inlined
> ----------------------------------------------------------
>
>                 Key: COCOON-2015
>                 URL: https://issues.apache.org/jira/browse/COCOON-2015
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: HTML
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Alexander Klimetschek
>         Attachments: cocoon-html-impl_cleanuptransformer_fix-doctype-twice.patch
>
>
> When using the CleanupTransformer without any inline elements configured, it will also
inline the root element (typically html). By doing this, the method ignorableWhitespace()
is called before startElement() on the contentHandler. When using Xalan 2.7.0, this leads
to the doctype added twice, which seems to be a bug (I reported this under http://issues.apache.org/jira/browse/XALANJ-2369).
> To fix that problem, this patch ensures that ignorableWhitespace() will not get called
before the root element of the document.

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


Mime
View raw message