[Home] [By Thread] [By Date] [Recent Entries]

  • From: Marcus Reichardt <u123724@g...>
  • To: Rick Jelliffe <rjelliffe@a...>
  • Date: Fri, 6 Aug 2021 07:51:58 +0200

Hi Rick,

reading through your spec just now, in pursuit of compact XML I
suggest to maybe change end-element requirements. According to the
spec as I understand, end-element tags (other than tags with blank
element names, a concept I haven't yet come to appreciate it seems :)
must either contain ns:name (like in XML) or just the name (even if
the matching start-element has a ns), like this

    <foo:bar>...</foo:bar>

or

    <foo:bar>...</bar>.

Now I'm not entirely sure why end-element tags as they are even made
it into XML (maybe for improved diagnostics/feedback in editors?), but
XML has for a long time been criticized for lacking simple empty
end-tags as supported in SGML:

    <bar>...</>

where </> terminates the right-most open element.

Lack of empty end-tags is particularly verbose as XML doesn't support
SGML CONCUR ie where tagging can overlap:

    <(foo)x>...<(bar)y>...</(foo)x>...</(bar)y>

or even

    <(foo|baz)x>...<(bar|baz)y>...</(foo|baz)x>...</(bar|baz)y>

provided foo, bar, baz are the names of declaration sets in the document prolog.

Regards,
Marcus

On 7/26/21, Rick Jelliffe <rjelliffe@a...> wrote:
> So I have rejigged the ideas based on many comments here, given it a name,
> and I have put up a little page, with much clearer examples.
>
>    https://schematron.com/2021/07/ran-raw-access-notation/
>
> I think it hangs together OK.
>
> Cheers
> Rick
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member