[dsdl-discuss] Re: DSRL Revisited

From: Jirka Kosek <jirka@kosek.cz>
Date: Wed Feb 22 2006 - 10:36:30 UTC

Martin Bryan wrote:

> Please find attached the latest version of Part 8, DSRL. This version
> contains a new clause in Annex B that shows how free-standing DSRL maps can
> be processed using XSLT 2.0. Before releasing this for ballot, however, I
> need your advice. The present clause consists of:

Hi Martin,

I hadn't enough time to go through material in appendixes. Here are my
comments to the main part of document.

page 1:
RFC2396 were obsoleted by RFC3986 (http://www.ietf.org/rfc/rfc3986.txt)
There is also 3rd edition of XML 1.0 Recommendation

page 3:
There is an example of RELAX NG fragment. This sample is missing default
namespace declaration and declaration of a: prefix. This could confuse
someone.

Note 4 talks about xsd:appInfo element, but xsd prefix is not defined. I
  think that we can add list of prefixes used in this standard and their
bindings at the end of section 4.1.

page 6:
Example right above Note 9 is mapping values in sorte attribute. But
target attribute is pointing to element (adresse[@sorte]) instead to
this attribute (adresse/@sorte).

page 7:
I don't think that externally defined dsrl:entity-name-map should have
target attribute. Entity declarations are always valid for the whole
document instance.

At the very end of page 7 there is defined special behavior of entity
mapping. When mapping is defined as identity, entities are escaped
(&amp; -> &amp;amp;). I don't think that this idea fits well into
expected behaviour of entity-name-map, to me it seems as an abuse and
dirty operator overload. If there is a need for such feature I would
prefer different language construct for it. If this was discussed before
and there is some rationale behind this decision, then I'm sorry.

page 9:
Note 16: The provided example in RNC doesn't define fixed attribute (in
DTD sense) as is described in the text. RELAX NG DTD Compatibility must
be used for this, like:

myname = element name { [a:defaultValue="Martin Bryan"] attribute
dsrl:default-content { "Martin Bryan" }, text }

page 10:
externaolly -> externally

page 11:
Answer to your question: In RNC you can replace <text><xi:include
href="#template-1"/></text> with
[ xi:include [ href = "#template-1" ]] text

HTH,

                                Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
      ** XSLT 13.-16.3.2006 ** XML schémata 24.-26.4.2006 **
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
------------------------------------------------------------------

--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Wed Feb 22 11:36:39 2006

This archive was generated by hypermail 2.1.8 : Wed Apr 12 2006 - 14:48:02 UTC