blob: dc8ee4accde5d583ed5d7fe47d16a4daea8f1e3d [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 +00005
Daniel Veillard75c29212000-03-14 18:33:47 +00006TODO:
7=====
8
Daniel Veillard5d211f42000-04-07 17:00:24 +00009- DOM needs
10 xmlAttrPtr xmlNewDocProp(xmlDocPtr doc, const xmlChar *name, const xmlChar *value)
11 int xmlPruneProp(xmlNodePtr node, xmlAtttrPtr attr);
12- Fix DTD + namespace validity problem
13 "Not valid: root and DtD name do not match 'ROOT' and 'prefix:ROOT'"
Daniel Veillard75c29212000-03-14 18:33:47 +000014- add support for the trick from Henry conf/sun/valid/empty.xml
15- Correct standalone checking/emitting (hard)
16 2.9 Standalone Document Declaration
17- URI checkings (no fragments) rfc2396.txt
18- Better checking of external parsed entities TAG 1234
19- Find way of representing PERefs in the Dtd so that %entity; can
20 be saved back.
21- Go through erratas and do the cleanup.
22 http://www.w3.org/XML/xml-19980210-errata ... bummmer
Daniel Veillard361d8452000-04-03 19:48:13 +000023- Handle undefined namespaces in entity contents better ... at least
24 issue a warning
25- General checking of DTD validation in presence of namespaces ... hairy
Daniel Veillardad8f99d2000-01-15 14:20:03 +000026
27TODO:
28=====
29
Daniel Veillard75c29212000-03-14 18:33:47 +000030- Get OASIS testsuite to a more friendly result, check all the results
31 once stable.
32 http://xmlsoft.org/conf/result.html
Daniel Veillardad8f99d2000-01-15 14:20:03 +000033
Daniel Veillard3dd82e72000-03-20 11:48:04 +000034- Optimization of tag strings allocation ?
Daniel Veillard75c29212000-03-14 18:33:47 +000035
36- maintain coherency of namespace when doing cut'n paste operations
37 => the functions are coded, but need testing
38
Daniel Veillard3dd82e72000-03-20 11:48:04 +000039- function to rebuild the ID table
40- functions to rebuild the DTD hash tables (after DTD changes).
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 Veillard5d211f42000-04-07 17:00:24 +000089- Added a clean mechanism for overload or added input methods:
90 xmlRegisterInputCallbacks()
Daniel Veillard361d8452000-04-03 19:48:13 +000091- dynamically adapt the alloc entry point to use g_alloc()/g_free()
92 if the programmer wants it:
93 - use xmlMemSetup() to reset the routines used.
94- Check attribute normalization especially xmlGetProp()
95- Validity checking problems for NOTATIONS attributes
96- Validity checking problems for ENTITY ENTITIES attributes
97- Parsing of a well balanced chunk xmlParseBalancedChunkMemory()
98- URI module: validation, base, etc ... see uri.[ch]
99- turn tester into a generic program xmllint installed with libxml
Daniel Veillardec303412000-03-24 13:41:54 +0000100- extend validity checks to go through entities content instead of
101 just labelling them PCDATA
Daniel Veillard75c29212000-03-14 18:33:47 +0000102- Save Dtds using the children list instead of dumping the tables,
103 order is preserved as well as comments and PIs
104- Wrote a notice of changes requires to go from 1.x to 2.x
105- make sure that all SAX callbacks are disabled if a WF error is detected
106- checking/handling of newline normalization
107 http://localhost/www.xml.com/axml/target.html#sec-line-ends
108- correct checking of '&' '%' on entities content.
109- checking of PE/Nesting on entities declaration
110- checking/handling of xml:space
111 - checking done.
112 - handling done, not well tested
113- Language identification code, productions [33] to [38]
114 => done, the check has been added and report WFness errors
115- Conditional sections in DTDs [61] to [65]
116 => should this crap be really implemented ???
117 => Yep OASIS testsuite uses them
118- Allow parsed entities defined in the internal subset to override
119 the ones defined in the external subset (DtD customization).
120 => This mean that the entity content should be computed only at
121 use time, i.e. keep the orig string only at parse time and expand
122 only when referenced from the external subset :-(
123 Needed for complete use of most DTD from Eve Maler
124- Add regression tests for all WFC errors
125 => did some in test/WFC
126 => added OASIS testsuite routines
127 http://xmlsoft.org/conf/result.html
128
129- I18N: http://wap.trondheim.com/vaer/index.phtml is not XML and accepted
130 by the XML parser, UTF-8 should be checked when there is no "encoding"
131 declared !
132- Support for UTF-8 and UTF-16 encoding
133 => added some convertion routines provided by Martin Durst
134 patched them, got fixes from @@@
135 I plan to keep everything internally as UTF-8 (or ISO-Latin-X)
136 this is slightly more costly but more compact, and recent processors
137 efficiency is cache related. The key for good performances is keeping
138 the data set small, so will I.
139 => the new progressive reading routines call the detection code
140 is enabled, tested the ISO->UTF-8 stuff
Daniel Veillardad8f99d2000-01-15 14:20:03 +0000141- External entities loading:
142 - allow override by client code
143 - make sure it is alled for all external entities referenced
144 Done, client code should use xmlSetExternalEntityLoader() to set
145 the default loading routine. It will be called each time an external
146 entity entity resolution is triggered.
147- maintain ID coherency when removing/changing attributes
148 The function used to deallocate attributes now check for it being an
149 ID and removes it from the table.
150- push mode parsing i.e. non-blocking state based parser
151 done, both for XML and HTML parsers. Use xmlCreatePushParserCtxt()
152 and xmlParseChunk() and html counterparts.
153 The tester program now has a --push option to select that parser
154 front-end. Douplicated tests to use both and check results are similar.
155
156- Most of XPath, still see some troubles and occasionnal memleaks.
157- an XML shell, allowing to traverse/manipulate an XML document with
158 a shell like interface, and using XPath for the anming syntax
159 - use of readline and history added when available
160 - the shell interface has been cleanly separated and moved to debugXML.c
161- HTML parser, should be fairly stable now
162- API to search the lang of an attribute
163- Collect IDs at parsing and maintain a table.
164 PBM: maintain the table coherency
165 PBM: how to detect ID types in absence of DtD !
166- Use it for XPath ID support
167- Add validity checking
168 Should be finished now !
169- Add regression tests with entity substitutions
170
171- External Parsed entities, either XML or external Subset [78] and [79]
172 parsing the xmllang DtD now works, so it should be sufficient for
173 most cases !
174
175- progressive reading. The entity support is a first step toward
Daniel Veillard260a68f1998-08-13 03:39:55 +0000176 asbtraction of an input stream. A large part of the context is still
177 located on the stack, moving to a state machine and putting everyting
178 in the parsing context should provide an adequate solution.
Daniel Veillardad8f99d2000-01-15 14:20:03 +0000179 => Rather than progressive parsing, give more power to the SAX-like
180 interface. Currently the DOM-like representation is built but
181 => it should be possible to define that only as a set of SAX callbacks
182 and remove the tree creation from the parser code.
183 DONE
Daniel Veillard01791d51998-07-24 19:24:09 +0000184
Daniel Veillardad8f99d2000-01-15 14:20:03 +0000185- DOM support, instead of using a proprietary in memory
186 format for the document representation, the parser should
187 call a DOM API to actually build the resulting document.
188 Then the parser becomes independent of the in-memory
189 representation of the document. Even better using RPC's
190 the parser can actually build the document in another
191 program.
192 => Work started, now the internal representation is by default
193 very near a direct DOM implementation. The DOM glue is implemented
194 as a separate module. See the GNOME gdome module.
195
Daniel Veillard01791d51998-07-24 19:24:09 +0000196- C++ support : John Ehresman <jehresma@dsg.harvard.edu>
197- Updated code to follow more recent specs, added compatibility flag
Daniel Veillard260a68f1998-08-13 03:39:55 +0000198- Better error handling, use a dedicated, overridable error
199 handling function.
200- Support for CDATA.
201- Keep track of line numbers for better error reporting.
202- Support for PI (SAX one).
Daniel Veillardad8f99d2000-01-15 14:20:03 +0000203- Support for Comments (bad, should be in ASAP, they are parsed
204 but not stored), should be configurable.
205- Improve the support of entities on save (+SAX).
Daniel Veillard01791d51998-07-24 19:24:09 +0000206