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 2004/12/16 18:07:30 UTC

DO NOT REPLY [Bug 32543] - remove lenya:dummy namespace workaround

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=32543>.
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=32543





------- Additional Comments From jplejacq@quoininc.com  2004-12-16 18:07 -------
A bit more information.  If a document has the following namespaces and dummy
attributes defined:

  <html
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:xhtml="http://www.w3.org/1999/xhtml"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
    xhtml:dummy="FIXME:keepNamespace"
    dc:dummy="FIXME:keepNamespace"
    lenya:dummy="FIXME:keepNamespace"
    >

The forms editor writes this out in the work area:

  <html
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
    dc:dummy="FIXME:keepNamespace"
    lenya:dummy="FIXME:keepNamespace"
    tagID="tag.1"
    :dummy="FIXME:keepNamespace"
    >

The problem seems to be with the default namespace being stripped by
the forms editor.

Michi points out that XSLT is being used during saving:

  src/java/org/apache/lenya/cms/cocoon/acting/HTMLFormSaveAction.java

So switching the XSLT processor library might cause a problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

---------------------------------------------------------------------
To unsubscribe, e-mail:              dev-unsubscribe@lenya.apache.org
For additional commands, e-mail:            dev-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org