Annotation of XML/TODO, revision 1.25

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

Webmaster