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