Permalink
Browse files

Small XML fix for <![CDATA

cdata must come right after the opening tag, since everything between the opening tags and the cdata also counts as the element text.
  • Loading branch information...
1 parent 5c10e65 commit 0d6d7b40f1102377581775e7761a443e41e33249 @enkore enkore committed Apr 10, 2012
Showing with 8 additions and 10 deletions.
  1. +8 −10 LIB/Draft-String-Format.xml
@@ -12,13 +12,13 @@
<rfc ipr="none" number="1005" category="std" docName="draft-string-format">
<front>
<title abbrev="String Format">String Format</title>
-
+
<author initials="M.S." surname="Schuetze" fullname="Malte Schuetze">
<address>
<email>malte.schuetze@fgms.de</email>
</address>
</author>
-
+
<date month="April" year="2012"/>
<area>Lib</area>
<workgroup>0x10c Standards Committee</workgroup>
@@ -31,14 +31,14 @@
other users.</t>
</abstract>
</front>
-
+
<middle>
<section anchor="intro" title="Introduction">
<t>Shared Libraries depend on certain formats being given.
Strings, being a common argument type for cross-library
calls, should therefore be standardized. Length-prefixed
strings are to be used for security and efficiency reasons.</t>
-
+
<section anchor="intro-terms" title="Terminology">
<t>
<list style="hanging">
@@ -104,15 +104,13 @@
<t>Note that the empty P-string consists entirely of a length word
containing 0x0000.</t>
<figure>
- <artwork>
- <![CDATA[
+ <artwork><![CDATA[
P-STRING = LENGTH BODY
LENGTH = n
BODY = nWORD
WORD = %x0000-ffff
; any 16-bit value
-]]>
- </artwork>
+]]></artwork>
</figure>
</section>
<section anchor="rationale" title="Rationale">
@@ -182,10 +180,10 @@
taken by the user to ensure this does not happen.</t>
</section>
</middle>
-
+
<back>
<references title="References">
<?rfc include="reference.RFC.2119.xml"?>
</references>
</back>
-</rfc>
+</rfc>

0 comments on commit 0d6d7b4

Please sign in to comment.