File: norm.xml

package info (click to toggle)
xmlformat 1.04-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,012 kB
  • sloc: xml: 2,289; perl: 996; ruby: 831; makefile: 109; sh: 65
file content (26 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!--
Test text normalization of para that:
- Does not contain sub-elements
- Contains inline sub-elements
- Contains non-normalized block sub-elements
- Contains embedded comments
Note: line-wrapping and indenting should be 0 for test.
normalization of para should be on, and programlisting should be verbatim
-->
<para>
  This text should have all surrounding whitespace removed
  </para>
<para>
  This text should have leading/trailing
  <literal>whitespace</literal>
  removed, but leave a space around the literal element>
</para>
<para>
  This text should have leading/trailing whitespace removed  <programlisting>
and also spaces adjacent
</programlisting>
  to the programlisting.
</para>
<para>
  The whitespace around <!-- this comment --> should not be removed entirely.
</para>