Samples

From XML Error Recovery Community Group
Revision as of 15:39, 28 February 2012 by Mzergaou (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page is here to collect some sample of expected output

It is not supposed to be a full testsuite

Marcos simple sample

Input

<example>
<child>Can I self close like a HTML <p> element?
<child>Or am I a child of child?

Livedom

<example>
<child>Can I self close like a HTML <p> element?
<child>Or am I a child of child?</child></p></child></example>

See http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cexample%3E%0A%20%20%20%3Cchild%3ECan%20I%20self%20close%20like%20a%20HTML%20%3Cp%3E%20element%3F%0A%20%20%20%3Cchild%3EOr%20am%20I%20a%20child%20of%20chil

OxygenXML

<example>
<child>Can I self close like a HTML <p> element?
<child>Or am I a child of child?</child></p></child></example>

See George Bina answer http://lists.w3.org/Archives/Public/public-xml-er/2012Feb/0170.html

Anne's Spec

<example>
<child>Can I self close like a HTML <p> element?
<child>Or am I a child of child?</child></p></child></example>

With this version of the spec https://dvcs.w3.org/hg/xml-er/raw-file/d4b6debf3eed/Overview.html

See David Carlisle's explanation http://lists.w3.org/Archives/Public/public-xml-er/2012Feb/0184.html

XML5

<example>
<child>Can I self close like a HTML <p> element?
<child>Or am I a child of child?</child></p></child></example>

http://quuz.org/xml5/play?source=%3Cexample%3E%0D%0A%3Cchild%3ECan+I+self+close+like+a+HTML+%3Cp%3E+element%3F%0D%0A%3Cchild%3EOr+am+I+a+child+of+child%3F