From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9729 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt FAQ format, XML with DTD Date: Wed, 6 Nov 2002 10:31:20 +0100 Organization: Elvenkind Sender: ntg-context-admin@ref.ntg.nl Message-ID: <20021106103120.1d3b4687.taco@elvenkind.com> References: <200211051947.47444.angerweit@gmx.net> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036575070 5745 80.91.224.249 (6 Nov 2002 09:31:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2002 09:31:10 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189MWi-0001UQ-00 for ; Wed, 06 Nov 2002 10:31:08 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 41A7710AF4; Wed, 6 Nov 2002 10:32:30 +0100 (MET) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ref.ntg.nl (Postfix) with ESMTP id B4BD410AE6 for ; Wed, 6 Nov 2002 10:31:36 +0100 (MET) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with SMTP id 08F99E62D for ; Wed, 6 Nov 2002 10:24:47 +0100 (CET) Original-To: ntg-context@ref.ntg.nl In-Reply-To: <200211051947.47444.angerweit@gmx.net> X-Mailer: Sylpheed version 0.8.5claws (GTK+ 1.2.10; i586-mandrake-linux-gnu) Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9729 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9729 Hi Hraban! Two notes from me, on xml:lang usage. 1st). xml:lang is not the best solution to language independance. It doesnt take transliteration into account, and it's specification does not cover the full ISO language/country spec. Also, it can be quite hard to intersept xml:lang in a processor. That's why I always use this parameter entity: 2nd) Your DTD is not 100% ok. Most of it is just a matter of merging ATTLIST specs, but this one: is definitely wrong. The IDREF here (and in some other locations) should be CDATA. Generally speaking, ID and IDREF do more harm than good in XML files. It's better to express the Id<->Ref relation in a schema and use CDATA in your Dtds always. Sorry, no positive input from me today (no time) ;-) -- groeten, Taco