ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* UTF8 chars in attribute values (XML)
@ 2019-05-19 17:38 Pablo Rodriguez
  2019-05-21  8:19 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2019-05-19 17:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

I’m afraid I found another issue with UTF8 chars in attribute values
when printing them.

    \starttext
    \startTEXpage[offset=1em]
    \startXML
    <tag value="aä" />
    \stopXML
    \stopTEXpage
    \stoptext

Inspecting buff-imp-xml.lua, I understand that "alsoname" should be
added to "key". But I don’t know where or how this could be achieved.

Sorry for not providing a patch,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: UTF8 chars in attribute values (XML)
  2019-05-19 17:38 UTF8 chars in attribute values (XML) Pablo Rodriguez
@ 2019-05-21  8:19 ` Hans Hagen
  2019-05-21 14:11   ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2019-05-21  8:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/19/2019 7:38 PM, Pablo Rodriguez wrote:
> Hi Hans,
> 
> I’m afraid I found another issue with UTF8 chars in attribute values
> when printing them.
> 
>      \starttext
>      \startTEXpage[offset=1em]
>      \startXML
>      <tag value="aä" />
>      \stopXML
>      \stopTEXpage
>      \stoptext
> 
> Inspecting buff-imp-xml.lua, I understand that "alsoname" should be
> added to "key". But I don’t know where or how this could be achieved.
> 
> Sorry for not providing a patch,
fixed in next beta


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: UTF8 chars in attribute values (XML)
  2019-05-21  8:19 ` Hans Hagen
@ 2019-05-21 14:11   ` Pablo Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2019-05-21 14:11 UTC (permalink / raw)
  To: ntg-context

On 5/21/19 10:19 AM, Hans Hagen wrote:
> On 5/19/2019 7:38 PM, Pablo Rodriguez wrote:
>> [...]
>> Inspecting buff-imp-xml.lua, I understand that "alsoname" should be
>> added to "key". But I don’t know where or how this could be achieved.
>>
>> Sorry for not providing a patch,
> fixed in next beta

Many thanks for the fix, Hans.

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-21 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-19 17:38 UTF8 chars in attribute values (XML) Pablo Rodriguez
2019-05-21  8:19 ` Hans Hagen
2019-05-21 14:11   ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).