On 4 jul 2011, at 20:51, Wolfgang Schuster wrote:


Am 04.07.2011 um 20:42 schrieb Hans van der Meer:

On 4 jul 2011, at 20:04, Wolfgang Schuster wrote:

Is the entity defined?

To create one there are two commands available:

- \xmlsetentitiy{…}{…}
- \xmltexentitiy{…}{…}

This seems curious to me. I searched for "xmlsetent" (suspecting a misspelling here) but the string is nowhere found in the ConTeXt base directory. Shouldn't it be there if is meant to be used? Or is it defined somewhere else?

lxml-ini.mkiv

See also http://www.ntg.nl/pipermail/ntg-context/2011/059718.html


Indeed, some quirk in the searchpath of my BBEdit editor, I found out. Got it now.

But there stays the question why the stand &---: patterns of XML are not standard set in the ConTeXt source.

I compared the two sources. The newer, not working version has:
char-ent.lua, line 694: ["apos"] = "'", -- U+00027

Is it possible this (I see char-ent.lua being added) has ruined the previous behaviour?

Hans van der Meer