[dsdl-discuss] Re: DSRL - DSDL Part 8

From: MURATA Makoto <murata@hokkaido.email.ne.jp>
Date: Wed Apr 04 2007 - 02:21:40 UTC

Martin,

> What do you mean by:
>
> >I would like to have the reference model (the 2-phase processing model)
> in the body of this text.
>
> It is in Clause 4, which is the body of the text. Do you mean you would
> prefer it if it was at the start of Clause 5?

My apologies. I overlooked the second half of Clause 4.

> > It should make clear how entity mappings and
> entity definitions are supported.
>
> Again I am not sure what you mean by this. Entity name mappings are clearly
> defined in:
> "Change the names and, where appropriate, namespace prefixes, assigned to
> nodes in the Infoset that identify "lements, attributes, entities or
> processing instructions."
> Admittedly I have not said anything about declaring entities, which I must
> think about in the light of comments from Jirka and Mohamed.

XML Infoset has Unexpanded Entity Reference Information Items
and Unparsed Entity Information Items only. It does not provide entity
declarations. Furthermore, unexpanded entity reference information
Items occur only when entity references are not expanded. How do you apply renaming
to entity declarations and expanded references to entities?

> Re:
>
> >What about mapping elements to attributes and vice versa?
>
> Mapping attributes to elements is included (using to-element) but the
> reverse is not easy for anything other than the first child element or for
> the contents of an element that is PCDATA only. As you cannot distinguish
> whether or not there is only one PCDATA element or one child easily in these
> cases I have ducked the reverse transformation.

Thanks for the clarification. It would be nice if a note about this
limitation is added.

Cheers,

-- 
MURATA Makoto <murata@hokkaido.email.ne.jp>
--
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 Apr 4 04:21:21 2007

This archive was generated by hypermail 2.1.8 : Wed Apr 11 2007 - 18:03:02 UTC