-
@@ -3827,75 +3827,75 @@ required of UTF-16 data streams is " #xFEFF ". With a Byte Order Mark:
-00 00 FE
+00 00 FE
FF |
-UCS-4, big-endian machine (1234 order) |
+UCS-4, big-endian machine (1234 order) |
|
-FF
+FF
FE 00 00 |
-UCS-4, little-endian machine (4321 order) |
+UCS-4, little-endian machine (4321 order) |
|
-00 00 FF FE |
-UCS-4, unusual octet order (2143) |
+00 00 FF FE |
+UCS-4, unusual octet order (2143) |
-FE FF 00 00 |
-UCS-4, unusual octet order (3412) |
+FE FF 00 00 |
+UCS-4, unusual octet order (3412) |
-FE FF ## ## |
-UTF-16, big-endian |
+FE FF ## ## |
+UTF-16, big-endian |
-FF FE ## ## |
-UTF-16, little-endian |
+FF FE ## ## |
+UTF-16, little-endian |
-EF BB BF |
-UTF-8 |
+EF BB BF |
+UTF-8 |
Without a Byte Order Mark:
-00 00 00 3C |
-UCS-4 or other encoding with a 32-bit code unit and ASCII
+ | 00 00 00 3C |
+UCS-4 or other encoding with a 32-bit code unit and ASCII
characters encoded as ASCII values, in respectively big-endian (1234), little-endian
(4321) and two unusual byte orders (2143 and 3412). The encoding declaration
must be read to determine which of UCS-4 or other supported 32-bit encodings
applies. |
-3C 00 00 00 |
+3C 00 00 00 |
-00 00 3C 00 |
+00 00 3C 00 |
-00 3C 00 00 |
+00 3C 00 00 |
-00 3C 00 3F |
-UTF-16BE or big-endian ISO-10646-UCS-2
+ | 00 3C 00 3F |
+UTF-16BE or big-endian ISO-10646-UCS-2
or other encoding with a 16-bit code unit in big-endian order and ASCII characters
encoded as ASCII values (the encoding declaration must be read to determine
which) |
-3C 00 3F 00 |
-UTF-16LE or little-endian
+ | 3C 00 3F 00 |
+UTF-16LE or little-endian
ISO-10646-UCS-2 or other encoding with a 16-bit code unit in little-endian
order and ASCII characters encoded as ASCII values (the encoding declaration
must be read to determine which) |
-3C 3F 78 6D |
-UTF-8, ISO 646, ASCII, some part of ISO 8859, Shift-JIS, EUC, or any other
+ | 3C 3F 78 6D |
+UTF-8, ISO 646, ASCII, some part of ISO 8859, Shift-JIS, EUC, or any other
7-bit, 8-bit, or mixed-width encoding which ensures that the characters of
ASCII have their normal positions, width, and values; the actual encoding
declaration must be read to detect which of these applies, but since all of
@@ -3903,14 +3903,14 @@ these encodings use the same bit patterns for the relevant ASCII characters,
the encoding declaration itself may be read reliably |
-4C
+4C
6F A7 94 |
-EBCDIC (in some flavor; the full encoding declaration
+ | EBCDIC (in some flavor; the full encoding declaration
must be read to tell which code page is in use) |
|
-Other |
-UTF-8 without an encoding declaration, or else the data stream is mislabeled
+ | Other |
+UTF-8 without an encoding declaration, or else the data stream is mislabeled
(lacking a required encoding declaration), corrupt, fragmentary, or enclosed
in a wrapper of some kind |
@@ -4069,7 +4069,7 @@ Contact)
@@ -1988,30 +1988,30 @@ is declared NMTOKENS and to those of the right columns if a
is declared CDATA.
-Attribute specification |
-a is NMTOKENS |
-a is CDATA |
+Attribute specification |
+a is NMTOKENS |
+a is CDATA |
-
@@ -3641,75 +3641,75 @@ required of UTF-16 data streams is " #xFEFF ". The notation
With a Byte Order Mark:
-00 00 FE
+00 00 FE
FF |
-UCS-4, big-endian machine (1234 order) |
+UCS-4, big-endian machine (1234 order) |
|
-FF
+FF
FE 00 00 |
-UCS-4, little-endian machine (4321 order) |
+UCS-4, little-endian machine (4321 order) |
|
-00 00 FF FE |
-UCS-4, unusual octet order (2143) |
+00 00 FF FE |
+UCS-4, unusual octet order (2143) |
-FE FF 00 00 |
-UCS-4, unusual octet order (3412) |
+FE FF 00 00 |
+UCS-4, unusual octet order (3412) |
-FE FF ## ## |
-UTF-16, big-endian |
+FE FF ## ## |
+UTF-16, big-endian |
-FF FE ## ## |
-UTF-16, little-endian |
+FF FE ## ## |
+UTF-16, little-endian |
-EF BB BF |
-UTF-8 |
+EF BB BF |
+UTF-8 |
Without a Byte Order Mark:
-00 00 00 3C |
-UCS-4 or other encoding with a 32-bit code unit and ASCII
+ | 00 00 00 3C |
+UCS-4 or other encoding with a 32-bit code unit and ASCII
characters encoded as ASCII values, in respectively big-endian (1234), little-endian
(4321) and two unusual byte orders (2143 and 3412). The encoding declaration
must be read to determine which of UCS-4 or other supported 32-bit encodings
applies. |
-3C 00 00 00 |
+3C 00 00 00 |
-00 00 3C 00 |
+00 00 3C 00 |
-00 3C 00 00 |
+00 3C 00 00 |
-00 3C 00 3F |
-UTF-16BE or big-endian ISO-10646-UCS-2
+ | 00 3C 00 3F |
+UTF-16BE or big-endian ISO-10646-UCS-2
or other encoding with a 16-bit code unit in big-endian order and ASCII characters
encoded as ASCII values (the encoding declaration must be read to determine
which) |
-3C 00 3F 00 |
-UTF-16LE or little-endian
+ | 3C 00 3F 00 |
+UTF-16LE or little-endian
ISO-10646-UCS-2 or other encoding with a 16-bit code unit in little-endian
order and ASCII characters encoded as ASCII values (the encoding declaration
must be read to determine which) |
-3C 3F 78 6D |
-UTF-8, ISO 646, ASCII, some part of ISO 8859, Shift-JIS, EUC, or any other
+ | 3C 3F 78 6D |
+UTF-8, ISO 646, ASCII, some part of ISO 8859, Shift-JIS, EUC, or any other
7-bit, 8-bit, or mixed-width encoding which ensures that the characters of
ASCII have their normal positions, width, and values; the actual encoding
declaration must be read to detect which of these applies, but since all of
@@ -3717,14 +3717,14 @@ these encodings use the same bit patterns for the relevant ASCII characters,
the encoding declaration itself may be read reliably |
-4C
+4C
6F A7 94 |
-EBCDIC (in some flavor; the full encoding declaration
+ | EBCDIC (in some flavor; the full encoding declaration
must be read to tell which code page is in use) |
|
-Other |
-UTF-8 without an encoding declaration, or else the data stream is mislabeled
+ | Other |
+UTF-8 without an encoding declaration, or else the data stream is mislabeled
(lacking a required encoding declaration), corrupt, fragmentary, or enclosed
in a wrapper of some kind |
@@ -3863,7 +3863,7 @@ Contact)
-I Production Notes (Non-Normative)
+ I Production Notes (Non-Normative)
This Second Edition was encoded in the XMLspec
DTD (which has documentation
available). The HTML versions were produced with a combination of the xmlspec.xsl, diffspec.xsl,
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index c0f4c1a5..733ddc70 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -284,8 +284,8 @@ main(int argc, char **argv)
defaultLoader = xmlGetExternalEntityLoader();
xmlLineNumbersDefault(1);
- if (novalid == 0) /* TODO XML_DETECT_IDS | XML_COMPLETE_ATTRS */
- xmlLoadExtDtdDefaultValue = 6;
+ if (novalid == 0)
+ xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
else
xmlLoadExtDtdDefaultValue = 0;
for (i = 1; i < argc; i++) {
| |