Re: Marcos simple sample

Thanks David,

I knew I missing something obvious !

Mohamed

On Tue, Feb 28, 2012 at 4:28 PM, David Carlisle <davidc@nag.co.uk> wrote:

> On 28/02/2012 14:51, Innovimax W3C wrote:
>
>> Using current version of Anne Spec [1] it seems like the output is
>> left unchanged
>>
>> <example> <child>Can I self close like a HTML <p> element? <child>Or
>> am I a child of child?
>>
>> Did I understand it correctly ? Anne, David ?
>>
>
>
> No I believe it would be as html5 here (but without the p weirdness html
> has) so
>
>
> <example>
> child>Can I self close like a HTML <p> element?
> <child>Or am I a child of child?</child></p></child></**example>
>
> The way Anne has it currently, the stack of open elements is not
> explicitly closed on EOF in the tokenisation state but it is handled in the
> tree building second phase. (That phase also doesn't need to do anything
> explicit at EOF other than stop, you don't need to close the nodes as
> entire nodes were built on seeing the start tag, at EOF You just stop
> adding content and go with what you have.
>
> The output can't correspond to unclosed elements as it is a DOM tree so
> when you linearise that to get something to put in email it always ends
> up having matching tags. (Currently it may not be well formed due to
> issues about legal characters but that's not the issue here I think)
>
> David
>
> ______________________________**______________________________**
> ____________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
>
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs. ______________________________**
> ______________________________**____________
>



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Tuesday, 28 February 2012 15:34:24 UTC