You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2007/10/31 13:03:31 UTC
DO NOT REPLY [Bug 43746] New: - BXE removes target attribute of elements
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43746>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43746
Summary: BXE removes target attribute of <a> elements
Product: Lenya
Version: unspecified
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Bitflux Integration
AssignedTo: dev@lenya.apache.org
ReportedBy: andreas@apache.org
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43746] - BXE removes target attribute of elements
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43746>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43746
rfrovarp@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From rfrovarp@apache.org 2007-10-31 06:51 -------
target isn't a valid attribute of, well anything in XHTML 1.0 strict. And u
isn't an element in XHTML 1.0 strict either. @shape is valid for area and a, so
that one could be removed.(In reply to comment #2)
> It is removed in modules/xhtml/xslt/clean-xhtml.xsl:
>
> <!-- Unsupported by the schema -->
> <xsl:template match="@shape|@target|xhtml:u">
> <xsl:apply-templates />
> </xsl:template>
>
> Why does the XSLT make assumptions about the schema?
The assumption is to support XHTML 1.0 Strict, which would make sense to me.
target isn't a valid attribute of, well anything in XHTML 1.0 strict. And u
isn't an element in XHTML 1.0 strict either. @shape is valid for area and a, so
that one could be removed.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43746] - BXE removes target attribute of elements
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43746>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43746
------- Additional Comments From andreas@apache.org 2007-10-31 05:06 -------
It is removed in modules/xhtml/xslt/clean-xhtml.xsl:
<!-- Unsupported by the schema -->
<xsl:template match="@shape|@target|xhtml:u">
<xsl:apply-templates />
</xsl:template>
Why does the XSLT make assumptions about the schema?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43746] - BXE removes target attribute of elements
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43746>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43746
------- Additional Comments From andreas@apache.org 2007-10-31 05:03 -------
The save request still contains the attribute, so it is removed on the server.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43746] - BXE removes target attribute of elements
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43746>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43746
andreas@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
------- Additional Comments From andreas@apache.org 2007-10-31 06:55 -------
The Uniklinik Freiburg needs the attribute.
Maybe we could add an option which XHTML schema to use
(strict/transitional/basic) and choose the schema and clean-xhtml.xsl accordingly?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43746] - BXE removes target attribute of elements
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43746>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43746
------- Additional Comments From rfrovarp@apache.org 2007-10-31 07:05 -------
(In reply to comment #5)
> The Uniklinik Freiburg needs the attribute.
>
> Maybe we could add an option which XHTML schema to use
> (strict/transitional/basic) and choose the schema and clean-xhtml.xsl accordingly?
Well, this is a larger issue. They should go through and edit the file, due to
the fact they have a custom non-standard need and should be able to put their
version of the file in their publication. I need center align and have had to
hack my rng files to include it.
Anyone who uses FCKeditor or TinyMCE has to hack the
src/modules/xhtml/resources/schemas/xhtml.rng file to include a larger set of
XHTML. Doing this break BXE unfortunately.
Adding an option to easily choose the level of support makes sense. However, the
default should be a subset of XHTML Strict.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
DO NOT REPLY [Bug 43746] - BXE removes target attribute of elements
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43746>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43746
andreas@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Bitflux Integration |Miscellaneous
------- Additional Comments From andreas@apache.org 2007-10-31 05:07 -------
So the problem lies in the XHTML module.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org