XMLC To-Do List
Bugs
- HTMLFormatter should not output values for boolean attributes.
- Figure out another workaround for the I.E. <SPAN> ID attribute
bug.
- Doing a setTextXXX(null) cause a corrupt DOM; this should probably
be caught by the DOM.
- Interface to xerces serializer uses to many internal methods,
the approach needs to be rethought.
- XML DOM can have attributes with child nodes, this doens't currently
work.
- Encoding is not correct for -docout on XML files.
- Tidy parser does not understand onfocus attribute.
Possible Enhancements and Missing Functionality
- Add support for define the attributes that are to be treated in as
HTML-style classes in a XML document. Allow wildcard for
element name, or maybe just use different options, such as
-class-attr attrname
and
-class-tag-attr elementname attrname
.
- Add an option to copy elements from a source XMLC object to the
one being compiled. Support libraries of source XMLC objects.
These could be used for sources of javascript code, etc.
- Need a way go do URL mapping in XML.
- Integrate Andy's XMLC object verification.
- Define a XML DTD for *.xmlc files. This contains options,
verification information, english descriptions of fields, etc.
A general meta-data file to associate with an XML file.
- Add ability to generate interfaces for localizations, page recompilation.
this will need the ability to restrict the ids that have access methods
generated
- Develop test based on the OASIS XML parse conformance tests
- The HTML Tidy parse deletes empty SPAN tags. Its not necessarly
desired and it might not even be the right thing for tidy to do in
general. This needs investigated.
- JTidy handles only a few, compiled in encodings. This could use the
Java string encoding/decoding facility.
- Add optional handling of server-side include syntax.
- Allow Parser to take input streams instead of disk files.
Use SAX InputSource for this.
- Implement namespaces.
- Several methods, such as URL attributes, need to be moved to the
XMLCDomFactory to allow for more flexable documents. Maybe some sort
of handling callback, which would get ride of HTMLDocBuilder and
would allow document builders to do special hacks.
- Need to set the encoding for HTML files.
- Add support for XHTML.
- The xmlc command should be extensible with other classes, being
able to add in new options. This requires extensible metadata.
- Add control over error handling on XMLC recompilation. Include
an option to cause it to just log an error and fall back to the
old class.
- Add support for subdocument classes (as proposed by kunze@opus5.de)
and other features required to support skins.