1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/result/att5
Daniel Veillard 3b7840cd6c adding namespace checkings while making sure they still parse as
* parser.c parserInternals.c tree.c include/libxml/parser.h
  include/libxml/xmlerror.h: adding namespace checkings
  while making sure they still parse as wellformed documents.
  Add an nsWellFormed status report to the context, and
  provide new appropriate error codes.
* Makefile.am result/namespaces/* test/namespaces/*: add
  specific regression testing for the new namespace support
* test/att5 result/noent/att5 result/att5 result/att5.sax:
  add more coverage for the attribute parsing and normalization
  code.
Daniel
2003-09-11 23:42:01 +00:00

41 lines
1.1 KiB
XML

<?xml version="1.0"?>
<!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=" &#13;&#10;&#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;&#10;&#9;"/> <!-- PBM serializing back -->
</doc>