From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6366 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: xml,entities, hyphenation Date: Tue, 18 Dec 2001 18:47:04 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <200112181747.fBIHl4A18226@sol.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396891 9840 80.91.224.250 (23 Oct 2002 18:14:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:14:51 +0000 (UTC) Cc: Hans Hagen Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:6366 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6366 Hi, > hm, first of all, i see that i have to treat numbers in a more advanced > way; in what disguises do those #num; things come? I now assume hex so 045 > becomes an E -) > > it is not that complicated to add an additional entity mapping branch that > remaps no45 into |-| but first i need specs -) OK, you asked for it :) [66]    CharRef ::=  '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' and, as stated in the xml spec: If the character reference begins with "&#x", the digits and letters up to the terminating ; provide a hexadecimal representation of the character's code point in ISO/IEC 10646. If it begins just with "&#", the digits up to the terminating ; provide a decimal representation of the character's code point. so "-" == "-" == "-" Viele Grüße, Patrick Gundlach - I TeX, therefore I am -