Re: [xslt] What encoding attribute values use (1.0.15 vs. 1
- From: Daniel Veillard <veillard redhat com>
- To: Petr Vandrovec <VANDROVE vc cvut cz>
- Cc: xslt gnome org
- Subject: Re: [xslt] What encoding attribute values use (1.0.15 vs. 1
- Date: Mon, 12 Aug 2002 09:39:54 -0400
On Mon, Aug 12, 2002 at 02:32:14PM +0200, Petr Vandrovec wrote:
> On 12 Aug 02 at 8:10, Daniel Veillard wrote:
> >
> > > Is this change intentional, and I have to convert attribute values to
> > > iso-8859-2 after XSLT pass (yes, I really need iso-8859-2 in attribute
> > > values - for example default values for INPUT boxes), or is this
> > > unintentional change?
> >
> > Well, that's an error to encode URI's content in iso-8859-2, UTF8
> > it the right way to do this as far as I understand. This was discussed
> > last month in the xml@gnome.org list.
> >
> > It's not a bug it's a compliance to the standards feature !
>
> OK. In that case can I rely on <xsl:attribute name="HREF"> generating
> iso-8859-2 values (i.e. not being specially handled), while
> <xsl:attribute name="href"> generating utf8 (when using xsl:output
> method="html"), or is this bug which will be fixed in the future?
Again it's not a bug, and I think in both cases the href will be
escaped as it's UTF8 string value, as expected.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]