Re: ERB decisions on A.17, B.9, and other questions
There's a little proposal at the end of this message, don't blink!
> >Why can't you build your mechanism using normal elements
> ><!ENTITY foo '<glyph unicode="XXX" glyphid="XXXX" charid="XXXX"/>'>
Before doing that, I'd much rather see XML use WSDs, with very little
Once you have WSDs, you can do away with entities altogether, and use
the (is it refloc?) idea of reusable parts of a document --
<chunk id.reuse="r101">The hangars at Cardington are <emph>very</emph>
<P>Later in our document, the intrepid hero says
Now entities are subsumed in a more general mechanism that is no harder
to implement -- anything with an id.reuse attribute gets squirreled
away for later, and not shown. Then later you can reuse them all,
just like entities. However, we now have entities with an obvious
way to include < > & % " and ' all at the same time :-), and can
edit the markup inside them.
(assuming that's the right /> syntax -- it's going to be a little
confusing for URLs in attributes:
so I'll use <@image> instead for my examples, for now)
In this case, you could have something like
<desc>latin small letter a with acute accent</desc>
<!--* It's at position 0xE1, which is 225 in decimal; *-->
Here is an <f><@reuse ref.reuse="aacute" child="form"> priori</f> example!
I have gone one teensy step further and allowed a single child to be
specified on the @reuse element; the idea is that you look for the id.reuse
and then descend to the child. The ID could be on the <form> instead.
(I've mangled the TEI WSD slightly for this example; you can ask me about
that privately if you like!)
So this is a two-part proposal:
(1) build element reuse into XML. This is powerful & flexible, but
no harder to implement (if I am not mistaken) than the entity syntax.
(2) use this mechanism to provide textual descriptions for
(the equivalent of) entities, in a manner similr to the TEI WSD.
Note that this approach is compatible with existing SGML implementations;
although not all SGML systems support element reuse, they do all support
putting elements in your document and parsing them!