File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / att5
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:37:59 2012 UTC (12 years, 10 months ago) by misho
Branches: libxml2, MAIN
CVS tags: v2_9_1p0, v2_9_1, v2_8_0p0, v2_8_0, v2_7_8, HEAD
libxml2

<!DOCTYPE doc [<!ATTLIST normId attr NMTOKENS #IMPLIED>]>
<doc>
  <!-- no normalization -->
  <norm attr='   '/>
  <norm attr='
  foo bar   '/>
  <norm attr='

foobar'/>
  <norm attr=' foo bar
'/>
  <norm attr='foobar

'/>
  <norm attr=' &amp; '/>
  <norm attr='
  foo&amp;bar   '/>
  <norm attr='

foobar&amp;'/>
  <norm attr='&amp;foo bar
'/>
  <norm attr='foobar

&amp;'/>
  <norm attr=' &lt; '/>
  <norm attr='
  foo&lt;bar   '/>
  <norm attr='

foobar&lt;'/>
  <norm attr='&lt;foo bar
'/>
  <norm attr='foobar

&lt;'/>
  <norm attr=' &#x20;&#13;&#xa;&#9; '/>
  <!-- normalization -->
  <normId attr='   '/>
  <normId attr='
  foo bar   '/>
  <normId attr='

foobar'/>
  <normId attr=' foo bar
'/>
  <normId attr='foobar

'/>
  <normId attr=' &amp; '/>
  <normId attr='
  foo&amp;bar   '/>
  <normId attr='

foobar&amp;'/>
  <normId attr='&amp;foo bar
'/>
  <normId attr='foobar

&amp;'/>
  <normId attr=' &lt; '/>
  <normId attr='
  foo&lt;bar   '/>
  <normId attr='

foobar&lt;'/>
  <normId attr='&lt;foo bar
'/>
  <normId attr='foobar

&lt;'/>
  <normId attr=' &#13;&#xa;&#9; '/> <!-- PBM serializing back -->
</doc>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>