Commit graph

73 commits

Author SHA1 Message Date
James Clark
56d37f2f38 Don't treat FEFF and FFFE as BOMs if there's an external encoding
of iso-8859-1 and we're parsing an external text entity
1998-11-20 23:33:09 +00:00
James Clark
95bcf45ce3 Define XMLNS 1998-11-20 04:06:40 +00:00
James Clark
3d10abbb60 Fix bug in namespace support 1998-11-20 04:05:24 +00:00
James Clark
65fc545d5e FIx bug with overwriting memory with large numbers of attributes 1998-11-18 05:40:41 +00:00
James Clark
6203e0f8ca Redo auto-detection inline with UTF-16 ID 1998-11-17 12:42:16 +00:00
James Clark
fc76b09ee5 Allow MINBPC to depend on enc 1998-11-17 09:51:41 +00:00
James Clark
947cd0feac Allow MINBPC to depend on enc.
Separate out ns dependent duplicate code into xmltok_ns.c
1998-11-17 09:51:18 +00:00
James Clark
73b6649f5d Add xmltok_ns.c 1998-11-17 09:49:19 +00:00
James Clark
5a9da0c257 Initial revision 1998-11-17 09:45:10 +00:00
James Clark
3f4d87b03a Fix bug with multibyte character after minus in comment 1998-10-30 07:02:08 +00:00
James Clark
1533718a38 Initial revision 1998-10-22 05:40:57 +00:00
James Clark
9f52171901 Lexical support for namespaces 1998-08-22 22:40:45 +00:00
James Clark
2844be94b7 Fix bug in utf8_isNmstrt2 1998-06-26 14:57:49 +00:00
James Clark
75405cf655 Get rid of some compile time warnings 1998-06-23 04:54:38 +00:00
James Clark
939ec46566 -1 in unknown encoding lead byte table should use BT_MALFORM 1998-06-03 08:25:08 +00:00
James Clark
0e864d50fb Use ints rather than unsigned shorts in unknown encoding support 1998-06-03 07:52:49 +00:00
James Clark
84835ac373 Generalize unknown encoding support 1998-06-02 08:57:14 +00:00
James Clark
e8ac3d8f5f Fix typos in CHECK_*_CASES args 1998-06-02 04:20:08 +00:00
James Clark
9efc5049a8 Support for arbitrary single byte encodings 1998-06-01 12:12:35 +00:00
James Clark
3a10246912 New approach for handling predefined entities 1998-06-01 07:28:31 +00:00
James Clark
496af54711 Avoid converting data unnecessarily 1998-06-01 05:55:23 +00:00
James Clark
6ff56dc9dc Add XML_ROLE_NOTATION_NO_SYSTEM_ID 1998-06-01 03:59:07 +00:00
James Clark
a2625a0572 Finish UTF16 conversion support 1998-05-31 08:06:01 +00:00
James Clark
c230dddef9 Represent UTF16 as char not UTF16_CHAR 1998-05-30 12:47:06 +00:00
James Clark
583f937102 Change handling of internal encodings in xmltok interface. 1998-05-30 10:13:07 +00:00
James Clark
05fd715a12 Require whitespace between attribute name and following attribute value 1998-05-23 07:27:59 +00:00
James Clark
d504c1c894 Add support for US-ASCII encoding 1998-05-11 10:16:36 +00:00
James Clark
d40b82ff26 Fix bug with end of buffer after ) in prolog 1998-05-02 06:03:28 +00:00
James Clark
fa8b616b9c Don't handle CDATA sections as a single token 1998-05-02 05:31:15 +00:00
James Clark
7e71c8f5d5 Fix bug with entity containing ] or ]] 1998-05-02 03:14:22 +00:00
James Clark
d4ee1a1ee1 Add copyright notice. 1998-04-05 15:11:29 +00:00
James Clark
f9ba46fd43 Bug in Latin 1 support 1998-03-23 23:42:30 +00:00
James Clark
6509a36b3f Get rid of // comments 1998-03-15 12:36:14 +00:00
James Clark
fce5a0395f Define calloc as well. 1998-03-09 01:26:05 +00:00
James Clark
a7e34c37ab Initial Revision 1998-03-08 03:39:56 +00:00
James Clark
34e680d0b7 Include xmldef.h 1998-03-08 03:39:32 +00:00
James Clark
e83509516e Update list of public id characters 1998-02-07 05:36:06 +00:00
James Clark
0a8e3db8c7 Deal with externally specified encodings 1998-02-07 04:53:44 +00:00
James Clark
b1c9b03eba Check for invalid UTF-8 characters 1998-02-03 10:04:03 +00:00
James Clark
2f74758c1f Normalize attribute values.
Attribute bug fixes.
1998-02-03 09:09:48 +00:00
James Clark
332b10d36c Add skipS method 1998-02-02 11:24:03 +00:00
James Clark
7cf6cf3188 Change containsRef field in ATTRIBUTE to normalized 1998-02-02 11:15:15 +00:00
James Clark
fdad370c5b Fix bug with UTF16 to UTF8 conversion for chars 0x80..0xFF 1998-02-02 11:14:46 +00:00
James Clark
c70ed036c9 Fix bug in UTF16 to UTF8 conversion 1998-02-02 10:35:37 +00:00
James Clark
3cc8d0075a Fix bug in getAtts with '. 1998-02-02 09:29:51 +00:00
James Clark
2fd2484a0a Use macro to access minBytesPerChar 1998-01-30 19:11:39 +00:00
James Clark
56440b93f3 Fix UTF-16 to UTF-8 conversion on surrogates. 1998-01-22 08:35:51 +00:00
James Clark
2ec75e44bc Fix bug in utf8_encoding with surrogates 1998-01-22 08:22:40 +00:00
James Clark
b07d0e5208 Check that parameter entities are declared. 1997-12-13 06:39:04 +00:00
James Clark
2a4f91e330 Fix bug in checkPiTarget 1997-12-12 09:17:24 +00:00