blob: a89f24c966ac5b7068d714d430e9e442b8b14a6f [file] [log] [blame]
Daniel Veillard01791d51998-07-24 19:24:09 +00001
Daniel Veillardad8f99d2000-01-15 14:20:03 +00002 TODO for the XML parser and stuff:
3 ==================================
Daniel Veillard01791d51998-07-24 19:24:09 +00004
Daniel Veillard361d8452000-04-03 19:48:13 +00005CVS:
6====
7 rename tester.c to xmllint.c
8
Daniel Veillard75c29212000-03-14 18:33:47 +00009TODO:
10=====
11
Daniel Veillard75c29212000-03-14 18:33:47 +000012- add support for the trick from Henry conf/sun/valid/empty.xml
13- Correct standalone checking/emitting (hard)
14 2.9 Standalone Document Declaration
15- URI checkings (no fragments) rfc2396.txt
16- Better checking of external parsed entities TAG 1234
17- Find way of representing PERefs in the Dtd so that %entity; can
18 be saved back.
19- Go through erratas and do the cleanup.
20 http://www.w3.org/XML/xml-19980210-errata ... bummmer
Daniel Veillard361d8452000-04-03 19:48:13 +000021- Handle undefined namespaces in entity contents better ... at least
22 issue a warning
23- General checking of DTD validation in presence of namespaces ... hairy
Daniel Veillardad8f99d2000-01-15 14:20:03 +000024
25TODO:
26=====
27
Daniel Veillard75c29212000-03-14 18:33:47 +000028- Get OASIS testsuite to a more friendly result, check all the results
29 once stable.
30 http://xmlsoft.org/conf/result.html
Daniel Veillardad8f99d2000-01-15 14:20:03 +000031
Daniel Veillard3dd82e72000-03-20 11:48:04 +000032- Optimization of tag strings allocation ?
Daniel Veillard75c29212000-03-14 18:33:47 +000033
34- maintain coherency of namespace when doing cut'n paste operations
35 => the functions are coded, but need testing
36
Daniel Veillard3dd82e72000-03-20 11:48:04 +000037- function to rebuild the ID table
38- functions to rebuild the DTD hash tables (after DTD changes).
Daniel Veillard75c29212000-03-14 18:33:47 +000039
Daniel Veillard75c29212000-03-14 18:33:47 +000040
Daniel Veillard75c29212000-03-14 18:33:47 +000041
Daniel Veillard75c29212000-03-14 18:33:47 +000042
43EXTENSIONS:
44===========
Daniel Veillard3dd82e72000-03-20 11:48:04 +000045
Daniel Veillard75c29212000-03-14 18:33:47 +000046- Tools to produce man pages from the SGML docs.
Daniel Veillardad8f99d2000-01-15 14:20:03 +000047- Finish XPath
48 => attributes addressing troubles
49 => defaulted attributes handling
50 => namespace axis ?
51
52- Add Xpointer recognition/API
53
54- Add Xlink recognition/API
55 => started adding an xlink.[ch] with a unified API for XML and HTML.
56
57- Implement XSLT
58 => seems that someone volunteered ?!?
59
60- Implement XSchemas
61
62- O2K parsing;
63 => this is a somewhat ugly mix of HTML and XML, adding a specific
64 routine in the comment parsing code of HTML and plug the XML
65 parsing one in-there should not be too hard. Key point is to get
66 XSL to transform all this to something decent ...
67
Daniel Veillardad8f99d2000-01-15 14:20:03 +000068- extend the shell with:
69 - edit
70 - load/save
71 - mv (yum, yum, but it's harder because directories are ordered in
72 our case, mvup and mvdown would be required)
73
Daniel Veillardad8f99d2000-01-15 14:20:03 +000074- Add HTML validation using the XHTML DTD
75 - problem: do we want to keep and maintain the code for handling
76 DTD/System ID cache directly in libxml ?
77
78- Add a DTD cache prefilled with xhtml DTDs and entities and a program to
79 manage them -> like the /usr/bin/install-catalog from SGML
80 right place seems $datadir/xmldtds
Daniel Veillard361d8452000-04-03 19:48:13 +000081 Maybe this is better left to user apps
Daniel Veillardad8f99d2000-01-15 14:20:03 +000082
83- Add output to XHTML in case of HTML documents.
84
Daniel Veillarde3d88ef2000-01-24 13:55:06 +000085
Daniel Veillardad8f99d2000-01-15 14:20:03 +000086Done:
87=====
88
Daniel Veillard361d8452000-04-03 19:48:13 +000089- dynamically adapt the alloc entry point to use g_alloc()/g_free()
90 if the programmer wants it:
91 - use xmlMemSetup() to reset the routines used.
92- Check attribute normalization especially xmlGetProp()
93- Validity checking problems for NOTATIONS attributes
94- Validity checking problems for ENTITY ENTITIES attributes
95- Parsing of a well balanced chunk xmlParseBalancedChunkMemory()
96- URI module: validation, base, etc ... see uri.[ch]
97- turn tester into a generic program xmllint installed with libxml
Daniel Veillardec303412000-03-24 13:41:54 +000098- extend validity checks to go through entities content instead of
99 just labelling them PCDATA
Daniel Veillard75c29212000-03-14 18:33:47 +0000100- Save Dtds using the children list instead of dumping the tables,
101 order is preserved as well as comments and PIs
102- Wrote a notice of changes requires to go from 1.x to 2.x
103- make sure that all SAX callbacks are disabled if a WF error is detected
104- checking/handling of newline normalization
105 http://localhost/www.xml.com/axml/target.html#sec-line-ends
106- correct checking of '&' '%' on entities content.
107- checking of PE/Nesting on entities declaration
108- checking/handling of xml:space
109 - checking done.
110 - handling done, not well tested
111- Language identification code, productions [33] to [38]
112 => done, the check has been added and report WFness errors
113- Conditional sections in DTDs [61] to [65]
114 => should this crap be really implemented ???
115 => Yep OASIS testsuite uses them
116- Allow parsed entities defined in the internal subset to override
117 the ones defined in the external subset (DtD customization).
118 => This mean that the entity content should be computed only at
119 use time, i.e. keep the orig string only at parse time and expand
120 only when referenced from the external subset :-(
121 Needed for complete use of most DTD from Eve Maler
122- Add regression tests for all WFC errors
123 => did some in test/WFC
124 => added OASIS testsuite routines
125 http://xmlsoft.org/conf/result.html
126
127- I18N: http://wap.trondheim.com/vaer/index.phtml is not XML and accepted
128 by the XML parser, UTF-8 should be checked when there is no "encoding"
129 declared !
130- Support for UTF-8 and UTF-16 encoding
131 => added some convertion routines provided by Martin Durst
132 patched them, got fixes from @@@
133 I plan to keep everything internally as UTF-8 (or ISO-Latin-X)
134 this is slightly more costly but more compact, and recent processors
135 efficiency is cache related. The key for good performances is keeping
136 the data set small, so will I.
137 => the new progressive reading routines call the detection code
138 is enabled, tested the ISO->UTF-8 stuff
Daniel Veillardad8f99d2000-01-15 14:20:03 +0000139- External entities loading:
140 - allow override by client code
141 - make sure it is alled for all external entities referenced
142 Done, client code should use xmlSetExternalEntityLoader() to set
143 the default loading routine. It will be called each time an external
144 entity entity resolution is triggered.
145- maintain ID coherency when removing/changing attributes
146 The function used to deallocate attributes now check for it being an
147 ID and removes it from the table.
148- push mode parsing i.e. non-blocking state based parser
149 done, both for XML and HTML parsers. Use xmlCreatePushParserCtxt()
150 and xmlParseChunk() and html counterparts.
151 The tester program now has a --push option to select that parser
152 front-end. Douplicated tests to use both and check results are similar.
153
154- Most of XPath, still see some troubles and occasionnal memleaks.
155- an XML shell, allowing to traverse/manipulate an XML document with
156 a shell like interface, and using XPath for the anming syntax
157 - use of readline and history added when available
158 - the shell interface has been cleanly separated and moved to debugXML.c
159- HTML parser, should be fairly stable now
160- API to search the lang of an attribute
161- Collect IDs at parsing and maintain a table.
162 PBM: maintain the table coherency
163 PBM: how to detect ID types in absence of DtD !
164- Use it for XPath ID support
165- Add validity checking
166 Should be finished now !
167- Add regression tests with entity substitutions
168
169- External Parsed entities, either XML or external Subset [78] and [79]
170 parsing the xmllang DtD now works, so it should be sufficient for
171 most cases !
172
173- progressive reading. The entity support is a first step toward
Daniel Veillard260a68f1998-08-13 03:39:55 +0000174 asbtraction of an input stream. A large part of the context is still
175 located on the stack, moving to a state machine and putting everyting
176 in the parsing context should provide an adequate solution.
Daniel Veillardad8f99d2000-01-15 14:20:03 +0000177 => Rather than progressive parsing, give more power to the SAX-like
178 interface. Currently the DOM-like representation is built but
179 => it should be possible to define that only as a set of SAX callbacks
180 and remove the tree creation from the parser code.
181 DONE
Daniel Veillard01791d51998-07-24 19:24:09 +0000182
Daniel Veillardad8f99d2000-01-15 14:20:03 +0000183- DOM support, instead of using a proprietary in memory
184 format for the document representation, the parser should
185 call a DOM API to actually build the resulting document.
186 Then the parser becomes independent of the in-memory
187 representation of the document. Even better using RPC's
188 the parser can actually build the document in another
189 program.
190 => Work started, now the internal representation is by default
191 very near a direct DOM implementation. The DOM glue is implemented
192 as a separate module. See the GNOME gdome module.
193
Daniel Veillard01791d51998-07-24 19:24:09 +0000194- C++ support : John Ehresman <jehresma@dsg.harvard.edu>
195- Updated code to follow more recent specs, added compatibility flag
Daniel Veillard260a68f1998-08-13 03:39:55 +0000196- Better error handling, use a dedicated, overridable error
197 handling function.
198- Support for CDATA.
199- Keep track of line numbers for better error reporting.
200- Support for PI (SAX one).
Daniel Veillardad8f99d2000-01-15 14:20:03 +0000201- Support for Comments (bad, should be in ASAP, they are parsed
202 but not stored), should be configurable.
203- Improve the support of entities on save (+SAX).
Daniel Veillard01791d51998-07-24 19:24:09 +0000204