You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Kelly Campbell <ca...@channelpoint.com> on 2001/03/07 17:30:28 UTC
RE: [Bug 877] Changed - HTML Serialize doesn't work with namespac
es
Sorry, I didn't consult the XSLT spec. Another one of those "it worked in
Xalan1" bugs :-) So we can't use any kind of HTML namespace then?
Thanks,
-Kelly
> -----Original Message-----
> From: Scott_Boag@lotus.com [mailto:Scott_Boag@lotus.com]
> Sent: Tuesday, March 06, 2001 8:16 PM
> To: xalan-dev@xml.apache.org
> Subject: Re: [Bug 877] Changed - HTML Serialize doesn't work with
> namespaces
>
>
>
> > If you use one of the html4 namespaces along with output=html, it
> doesn't output
> > using the HTML serializer and elements like
> <textarea></textarea> get
> rendered
> > ! as just <textarea/>. A patch is attached.
>
>
> I haven't looked at the patch yet, or the full bug report for
> that matter,
> but if an element is namespace it should be output as XML,
> not HTML, and so
> should use the form <textarea/>.
>
> See http://www.w3.org/TR/xslt#section-HTML-Output-Method:
>
> "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. If the expanded-name of the element
> has a null
> namespace URI, but the local part of the expanded-name is not
> recognized as
> the name of an HTML element, the element should output in the
> same way as a
> non-empty, inline element such as span."
>
> Am I misunderstanding?
>
> -scott
>
>
>
>
>
>
> bugzilla@apac
>
> he.org To:
> xalan-dev@xml.apache.org, camk@channelpoint.com
> cc: (bcc: Scott
> Boag/CAM/Lotus)
> 03/06/2001 Subject: [Bug
> 877] Changed - HTML Serialize doesn't work with
> 09:43 PM namespaces
>
> Please
>
> respond to
>
> xalan-dev
>
>
>
>
>
>
>
>
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=877
>
> *** shadow/877 Tue Mar 6 18:42:42 2001
> --- shadow/877.tmp.27919 Tue Mar 6 18:43:47 2001
> ***************
> *** 16,19 ****
> | DESCRIPTION
> |
> If you use one of the html4 namespaces along with
> output=html, it doesn't
> output
> using the HTML serializer and elements like
> <textarea></textarea> get
> rendered
> ! as just <textarea/>. A patch is attached.
> --- 16,23 ----
> | DESCRIPTION
> |
> If you use one of the html4 namespaces along with
> output=html, it doesn't
> output
> using the HTML serializer and elements like
> <textarea></textarea> get
> rendered
> ! as just <textarea/>. A patch is attached.
> !
> ! ------- Additional Comments From camk@channelpoint.com
> 2001-03-06 18:43
> -------
> ! Created an attachment (id=34)
> ! Patch for SerializeToHTML
>
>
>
>