updated a bit fixed the comment, threads now default to on fixed an

* TODO: updated a bit
* configure.in: fixed the comment, threads now default to on
* parserInternals.c: fixed an erroneous xmlMallocAtomic() call
Daniel
This commit is contained in:
Daniel Veillard 2003-04-21 23:07:45 +00:00
parent a880b12475
commit c4f65abe30
4 changed files with 33 additions and 20 deletions

View File

@ -1,3 +1,9 @@
Tue Apr 22 01:06:09 CEST 2003 Daniel Veillard <daniel@veillard.com>
* TODO: updated a bit
* configure.in: fixed the comment, threads now default to on
* parserInternals.c: fixed an erroneous xmlMallocAtomic() call
Mon Apr 21 23:33:38 CEST 2003 Daniel Veillard <daniel@veillard.com>
* globals.c libxml.h parser.c parserInternals.c tree.c xmllint.c

43
TODO
View File

@ -2,7 +2,7 @@
TODO for the XML parser and stuff:
==================================
$Id$
$Id$
this tend to be outdated :-\ ...
@ -21,9 +21,8 @@ TODO:
to a reasonable level
- Computation of base when HTTP redirect occurs, might affect HTTP
interfaces.
- Computation of base in XInclude. Relativization of URIs.
- listing all attributes in a node.
- Correct standalone checking/emitting (hard)
2.9 Standalone Document Declaration
- Better checking of external parsed entities TAG 1234
- Go through erratas and do the cleanup.
http://www.w3.org/XML/xml-19980210-errata ... started ...
@ -34,8 +33,6 @@ TODO:
- htmlParseDoc has parameter encoding which is not used.
Function htmlCreateDocParserCtxt ignore it.
- fix realloc() usage.
- compliance to XML-Namespace checking, see section 6 of
http://www.w3.org/TR/REC-xml-names/
- Stricten the UTF8 conformance (Martin Duerst):
http://www.w3.org/2001/06/utf-8-test/.
The bad files are in http://www.w3.org/2001/06/utf-8-wrong/.
@ -61,8 +58,6 @@ TODO:
EXTENSIONS:
===========
- Fix output of <tst val="x&#xA;y"/>
- Tools to produce man pages from the SGML docs.
- Add Xpointer recognition/API
@ -73,14 +68,7 @@ EXTENSIONS:
- Implement XSchemas
=> Really need to be done <grin/>
- started
- O2K parsing;
=> this is a somewhat ugly mix of HTML and XML, adding a specific
routine in the comment parsing code of HTML and plug the XML
parsing one in-there should not be too hard. Key point is to get
XSL to transform all this to something decent ...
=> forget about it ?
- datatype are complete, but structure support is very limited.
- extend the shell with:
- edit
@ -88,20 +76,39 @@ EXTENSIONS:
- mv (yum, yum, but it's harder because directories are ordered in
our case, mvup and mvdown would be required)
Done:
=====
- Add HTML validation using the XHTML DTD
- problem: do we want to keep and maintain the code for handling
DTD/System ID cache directly in libxml ?
=> not really done that way, but there are new APIs to check elements
or attributes. Otherwise XHTML validation directly ...
- XML Schemas datatypes except Base64 and BinHex
- Relax NG validation
- XmlTextReader streaming API + validation
- Add a DTD cache prefilled with xhtml DTDs and entities and a program to
manage them -> like the /usr/bin/install-catalog from SGML
right place seems $datadir/xmldtds
Maybe this is better left to user apps
=> use a catalog instead , and xhtml1-dtd package
- Add output to XHTML in case of HTML documents.
- Add output to XHTML
=> XML serializer automatically recognize the DTd and apply the specific
rules.
- Fix output of <tst val="x&#xA;y"/>
Done:
=====
- compliance to XML-Namespace checking, see section 6 of
http://www.w3.org/TR/REC-xml-names/
- Correct standalone checking/emitting (hard)
2.9 Standalone Document Declaration
- Implement OASIS XML Catalog support
http://www.oasis-open.org/committees/entity/

View File

@ -363,7 +363,7 @@ WITH_THREADS=0
THREAD_CFLAGS=""
TEST_THREADS=""
AC_ARG_WITH(threads, [ --with-threads Add multithread support(off)])
AC_ARG_WITH(threads, [ --with-threads Add multithread support(on)])
if test "$with_threads" = "no" ; then
echo Disabling multithreaded support
else

View File

@ -2521,7 +2521,7 @@ xmlParserAddNodeInfo(xmlParserCtxtPtr ctxt,
(2 * ctxt->node_seq.maximum));
if (ctxt->node_seq.buffer == NULL)
tmp_buffer = (xmlParserNodeInfo *) xmlMallocAtomic(byte_size);
tmp_buffer = (xmlParserNodeInfo *) xmlMalloc(byte_size);
else
tmp_buffer =
(xmlParserNodeInfo *) xmlRealloc(ctxt->node_seq.buffer,