cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Johnston (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COCOON-1753) XInclude transformer uses href fragment rather than xpointer attribute (spec conformance)
Date Thu, 16 Feb 2006 03:03:01 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1753?page=all ]

Jason Johnston updated COCOON-1753:
-----------------------------------

    Attachment: COCOON-1753.diff

Attached patch.  Implements xpointer="..." attribute as the preferred way for specifying xpointer
fragments.  The old href-fragments are still interpreted but produce a WARN log message stating
support will be removed in a future release.  Tested against the samples and some ad-hoc tests.
 Needs review.

> XInclude transformer uses href fragment rather than xpointer attribute (spec conformance)
> -----------------------------------------------------------------------------------------
>
>          Key: COCOON-1753
>          URL: http://issues.apache.org/jira/browse/COCOON-1753
>      Project: Cocoon
>         Type: Bug
>   Components: - Components: Sitemap
>     Versions: 2.1.9-dev (current SVN)
>     Reporter: Jason Johnston
>  Attachments: COCOON-1753.diff
>
> The XInclude 1.0 spec (see http://www.w3.org/TR/xinclude/#include_element) states the
following about the href attribute:
> "Fragment identifiers must not be used; their appearance is a fatal error."
> Cocoon's XIncludeTransformer incorrectly allows xpointer fragments to be specified using
a fragment identifier in the href attribute.  The correct way to support xpointers is the
"xpointer" attribute on xi:include, which the transformer does not currently recognize.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message