Re: a small document about XML Schema <sequence> vs <all> constructs

On 27 July 2016 at 20:40, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:

>
> Consider on the one hand
>  <!ELEMENT DIV (P*)>
> where order definitely _does_ matter, and on the other
>  <!ELEMENT BIB (BIBITEM*)>
> where order (probably) doesn't.
>

This is a good example. It uses the DTD terminology, but it does convey the
meaning.


>
> But it takes practical experience to know that
>  <p>Atlas shrugged</p><p>Rome fell</p>
> conveys different information from
>  <p>Rome fell</p><p>Atlas shrugged</p>
> but
>  <bibitem date="2016" title="Part 2"/>
>  <bibitem date="2015" title="Part 1"/>
> is probably informationally equivalent to
>  <bibitem date="2015" title="Part 1"/>
>  <bibitem date="2016" title="Part 2"/>
>

I think, these two XML documents conform to the DTD mentioned earlier. And
I do understand your point.


>
> There's perhaps some interesting space for value-add here in terms of
> some meta-vocabulary for expressing when order matters, which might be
> useful for generic visualisation tooling?
>

I can imagine, that solving this use case would be useful as you've said.


>
> ht
> --
>        Henry S. Thompson, School of Informatics, University of Edinburgh
>       10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
>                 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
>                        URL: http://www.ltg.ed.ac.uk/~ht/
>  [mail from me _always_ has a .sig like this -- mail without it is forged
> spam]
>



-- 
Regards,
Mukul Gandhi

Received on Thursday, 28 July 2016 08:02:28 UTC