You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/02/22 15:46:03 UTC

DO NOT REPLY [Bug 877] - HTML Serialize doesn't work with namespaces

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=877>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=877

HTML Serialize doesn't work with namespaces

falk@livis.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From falk@livis.de  2003-02-22 14:46 -------
Yes, I have read the comment about �16.2 of XSLT 1.0:
"The html output method should not output an element differently from the xml 
output method unless the expanded-name of the element has a null namespace URI; 
an element whose expanded-name has a non-null namespace URI should be output as 
XML..."

However, this is a bug in the specification. It makes it impossible to output 
valid XHTML as valid HTML -- the possible main application of the HTML output 
method defined by �16.2. Therefore, �16.2, in this form, contradicts itself. 
The authors have just forgotten to say that "the XHTML namespace should, of 
course, be treated just like the null namespace". A minor bug in the spec, but 
a major bug in the implementation.

We need Xalan to fix this, or at least, to provide an output property flag to 
behave reasonably. The patch is known an affects only two lines.

Regards,
Falk