W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > July 2005

Harold test suite: insert <![CDATA[...]]>?

From: Bill Han <bill.han@oracle.com>
Date: Wed, 20 Jul 2005 11:11:43 -0700
Message-ID: <42DE93DF.5080506@oracle.com>
To: www-xml-xinclude-comments@w3.org
CC: pgrosso@arbortext.com, jmarsh@microsoft.com
Hi,
    For the test case of metafallbacktest2.xml, do you think their 
output is correct output or the attached 2.log is correct? (you could 
replace most '>' with '&gt;' in 2.log), or both?
    In another words, if parse="text", should we insert <![CDATA[...]]> 
or should we do something like C.3 in the XInclude Spec.?
    Or, it's b/c of xpointer="element(/1)", we add <![CDATA[...]]> ? If 
so, where I can find the spec.(XML and XInclude/XPointer) ?

Thanks,
- Bill


<root>
  <test xml:base="fallbacktotext.xml">
  &lt;simple>
&lt;test xmlns:xinclude="http://www.w3.org/2001/XInclude">
  &lt;latin1>
    &lt;firstElement/>
    &lt;xinclude:include href="utf8.xml" parse="text"/>
    &lt;insideChildren/>
    &lt;another>
      &lt;deeper>text&lt;/deeper>
    &lt;/another>
  &lt;/latin1>
  &lt;test2>
    &lt;xinclude:include href="test2.xml"/>
  &lt;/test2>
  &lt;test3>
   &lt;!-- &lt;xinclude:include href="roottest.xml"/> -->
  &lt;/test3>
&lt;/test>
&lt;/simple>

</test>
</root>
Received on Wednesday, 20 July 2005 18:11:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:09:36 UTC