[tei-council] <content> vs <mixedContent>

Sebastian Rahtz sebastian.rahtz at it.ox.ac.uk
Fri Oct 3 15:01:36 EDT 2014


On 3 Oct 2014, at 19:19, Hugh Cayless <philomousos at gmail.com> wrote:

> Surely those are identical? I suppose you could insert an empty text node
> in the infoset, but it would be lost as soon as you serialized and then
> re-parsed it. I was under the very strong impression that <foo></foo> and
> <foo/> were exactly the same from an XML processor's point of view....

if the processor schema aware, it can look up and see if the element
_could_ have contained anything? i vaguely thought the info set
retained that sort of info.

no matter, when serialised we agree its indistinguishable
--
Sebastian Rahtz      
Director (Research) of Academic IT
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

Não sou nada.
Nunca serei nada.
Não posso querer ser nada.
À parte isso, tenho em mim todos os sonhos do mundo.



More information about the tei-council mailing list