[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-texinfo] Re: xml id characters

From: Per Bothner
Subject: [help-texinfo] Re: xml id characters
Date: Sun, 31 Dec 2006 17:51:10 -0800
User-agent: Thunderbird (X11/20061219)

Karl Berry wrote:
However, I had thought that XML, being based on Unicode,

But SGML predates Unicode.  The original DocBook was SGML-based,
the current version can be SGML or XML, and Docbook 5.0 is XML-only.

I use the xslt stylesheets to process DocBook.  They require XML.
I see little point in emitting DocBook-SGML.

allowed more or less anything in its id's.  E.g.,

Can you shed any light on this?  Can we just allow anything (except ")
in the Docbook/XML and Texinfo/XML id values?
"Values of type ID must match the Name production." says an "xml:id processor must assure that the following constraints hold for all xml:id attributes: ...
      The normalized value of the attribute is an NCName."
I.e. colons are not allowed for "xml:id" attributes and that is probably
a good idea for DocBook "id" attributes too.

If you pick XML 1.1 the rules are slightly more liberal, and
easier to implement:

How well does texinfo handle Unicode characters?
        --Per Bothner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]