Annotation of XML/TODO, revision 1.26
1.1 daniel 1:
1.16 daniel 2: TODO for the XML parser and stuff:
3: ==================================
4:
1.24 daniel 5: TODO:
6: =====
7:
1.25 daniel 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: - checking/handling of newline normalization
12: http://localhost/www.xml.com/axml/target.html#sec-line-ends
13: - Correct standalone checking/emitting (hard)
14: 2.9 Standalone Document Declaration
1.26 ! daniel 15: - URI checkings (no fragments)
! 16: - Better checking od external parsed entities TAG 1234
1.18 daniel 17:
18: TODO:
19: =====
20:
1.24 daniel 21: - Get OASIS testsuite to a more friendly result, check all the results
22: once stable.
23: http://xmlsoft.org/conf/result.html
24:
25: - Optimization of tag strings allocation.
26:
27: - maintain coherency of namespace when doing cut'n paste operations
28: => the functions are coded, but need testing
29:
30: - function to rebuild the ID table ?
31:
32: - Parsing of a well balanced chunk
33:
34: - dynamically adapt the alloc entry point to use g_alloc()/g_free()
35: if the programmer wants it
36:
37: - Validity checking problems for ENTITY ENTITIES attributes
38:
39: - Validity checking problems for NOTATIONS attributes
40:
41: - Check attribute normalization especially xmlGetProp()
42:
43: EXTENSIONS:
44: ===========
1.26 ! daniel 45: - URI module: validation, base, etc ...
1.21 daniel 46: - Tools to produce man pages from the SGML docs.
1.16 daniel 47: - Finish XPath
1.18 daniel 48: => attributes addressing troubles
1.19 daniel 49: => defaulted attributes handling
50: => namespace axis ?
1.16 daniel 51:
52: - Add Xpointer recognition/API
53:
54: - Add Xlink recognition/API
1.18 daniel 55: => started adding an xlink.[ch] with a unified API for XML and HTML.
1.16 daniel 56:
57: - Implement XSLT
1.19 daniel 58: => seems that someone volunteered ?!?
1.16 daniel 59:
1.18 daniel 60: - Implement XSchemas
61:
1.16 daniel 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:
1.18 daniel 68: - 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)
1.16 daniel 73:
1.20 daniel 74: - 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
81:
82: - turn tester into a generic program xml-test installed with xml-devel
1.16 daniel 83:
1.19 daniel 84: - Add output to XHTML in case of HTML documents.
85:
1.24 daniel 86:
87: Done:
88: =====
89:
1.25 daniel 90: - correct checking of '&' '%' on entities content.
91: - checking of PE/Nesting on entities declaration
92: - checking/handling of xml:space
93: - checking done.
94: - handling done, not well tested
1.24 daniel 95: - Language identification code, productions [33] to [38]
96: => done, the check has been added and report WFness errors
97: - Conditional sections in DTDs [61] to [65]
98: => should this crap be really implemented ???
99: => Yep OASIS testsuite uses them
100: - Allow parsed entities defined in the internal subset to override
101: the ones defined in the external subset (DtD customization).
102: => This mean that the entity content should be computed only at
103: use time, i.e. keep the orig string only at parse time and expand
104: only when referenced from the external subset :-(
105: Needed for complete use of most DTD from Eve Maler
106: - Add regression tests for all WFC errors
107: => did some in test/WFC
108: => added OASIS testsuite routines
109: http://xmlsoft.org/conf/result.html
1.22 daniel 110:
1.23 daniel 111: - I18N: http://wap.trondheim.com/vaer/index.phtml is not XML and accepted
112: by the XML parser, UTF-8 should be checked when there is no "encoding"
113: declared !
1.24 daniel 114: - Support for UTF-8 and UTF-16 encoding
115: => added some convertion routines provided by Martin Durst
116: patched them, got fixes from @@@
117: I plan to keep everything internally as UTF-8 (or ISO-Latin-X)
118: this is slightly more costly but more compact, and recent processors
119: efficiency is cache related. The key for good performances is keeping
120: the data set small, so will I.
121: => the new progressive reading routines call the detection code
122: is enabled, tested the ISO->UTF-8 stuff
1.20 daniel 123: - External entities loading:
124: - allow override by client code
125: - make sure it is alled for all external entities referenced
126: Done, client code should use xmlSetExternalEntityLoader() to set
127: the default loading routine. It will be called each time an external
128: entity entity resolution is triggered.
129: - maintain ID coherency when removing/changing attributes
130: The function used to deallocate attributes now check for it being an
131: ID and removes it from the table.
132: - push mode parsing i.e. non-blocking state based parser
133: done, both for XML and HTML parsers. Use xmlCreatePushParserCtxt()
134: and xmlParseChunk() and html counterparts.
135: The tester program now has a --push option to select that parser
136: front-end. Douplicated tests to use both and check results are similar.
137:
1.18 daniel 138: - Most of XPath, still see some troubles and occasionnal memleaks.
139: - an XML shell, allowing to traverse/manipulate an XML document with
140: a shell like interface, and using XPath for the anming syntax
1.20 daniel 141: - use of readline and history added when available
142: - the shell interface has been cleanly separated and moved to debugXML.c
1.18 daniel 143: - HTML parser, should be fairly stable now
144: - API to search the lang of an attribute
145: - Collect IDs at parsing and maintain a table.
146: PBM: maintain the table coherency
147: PBM: how to detect ID types in absence of DtD !
148: - Use it for XPath ID support
149: - Add validity checking
150: Should be finished now !
1.16 daniel 151: - Add regression tests with entity substitutions
152:
153: - External Parsed entities, either XML or external Subset [78] and [79]
154: parsing the xmllang DtD now works, so it should be sufficient for
155: most cases !
156:
157: - progressive reading. The entity support is a first step toward
1.7 daniel 158: asbtraction of an input stream. A large part of the context is still
159: located on the stack, moving to a state machine and putting everyting
160: in the parsing context should provide an adequate solution.
1.8 daniel 161: => Rather than progressive parsing, give more power to the SAX-like
162: interface. Currently the DOM-like representation is built but
1.18 daniel 163: => it should be possible to define that only as a set of SAX callbacks
164: and remove the tree creation from the parser code.
165: DONE
1.8 daniel 166:
1.1 daniel 167: - DOM support, instead of using a proprietary in memory
168: format for the document representation, the parser should
169: call a DOM API to actually build the resulting document.
170: Then the parser becomes independent of the in-memory
171: representation of the document. Even better using RPC's
172: the parser can actually build the document in another
173: program.
1.8 daniel 174: => Work started, now the internal representation is by default
175: very near a direct DOM implementation. The DOM glue is implemented
1.16 daniel 176: as a separate module. See the GNOME gdome module.
177:
1.2 daniel 178: - C++ support : John Ehresman <jehresma@dsg.harvard.edu>
1.6 daniel 179: - Updated code to follow more recent specs, added compatibility flag
1.7 daniel 180: - Better error handling, use a dedicated, overridable error
181: handling function.
182: - Support for CDATA.
183: - Keep track of line numbers for better error reporting.
184: - Support for PI (SAX one).
1.8 daniel 185: - Support for Comments (bad, should be in ASAP, they are parsed
186: but not stored), should be configurable.
187: - Improve the support of entities on save (+SAX).
1.2 daniel 188:
Webmaster