SVG Tiny and RELAX NG

Dear colleagues,

I would like to make some comments on the "DTD compatibility" constraint.

First, the spirit of RELAX NG is to separate infoset modification
from validation, which basically reports either "valid" or "invalid".
Assigning IDness to attributes is infoset modification.  Thus, the
RELAX NG specification does not cover IDness.  Many programs (e.g.,
ODF editors) require IDness, although they do not perform validation.

The RELAX NG DTD Compatibility specification is intended to help
migration from the DTD language to RELAX NG.  However, this spec is
not an OASIS standard or ISO/IEC standard, and has not been fully
implemented (jing does not implement default values, although it does
implement IDness).

I thus think that the best approach is to rely on the xml:id
recommendation WITHOUT USING RELAX NG VALIDATION.  The xml:id processor
provides IDness.  I would recommend s/ID.datatype/NCName.datatype/g.

You might be interested in a recent e-mail thread about this topic,
available at:

  http://lists.w3.org/Archives/Public/public-xml-id/2008Aug/thread.html 

Hope this helps.

Cheers,

-- 
MURATA Makoto (FAMILY Given) <EB2M-MRT@asahi-net.or.jp>

Received on Thursday, 23 October 2008 07:21:01 UTC