mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2025-03-09 05:20:53 +00:00
Small cleanups, updates, Daniel
This commit is contained in:
parent
244ece9787
commit
2f2bf417f8
@ -1,3 +1,8 @@
|
||||
Sun Aug 20 17:03:38 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
|
||||
|
||||
* nanoftp.c nanohttp.c: small cleanup
|
||||
* TODO: updated
|
||||
|
||||
Sat Aug 19 22:57:02 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
|
||||
|
||||
* added an old VC testcase and updated title.xml entity
|
||||
@ -78,6 +83,7 @@ Fri Aug 4 11:21:50 PDT 2000 Daniel Veillard <Daniel.Veillard@w3.org>
|
||||
Sat Jul 22 05:59:05 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
|
||||
|
||||
* parser.c xmlIO.[ch]: fixed the problem of encoding support
|
||||
|
||||
when using in memory parsing. Need some cleanup.
|
||||
* xmllint.c configure.in: added a --memory flag to test memory
|
||||
parsing
|
||||
|
@ -96,9 +96,9 @@ install-data: $(srcdir)/libxml
|
||||
|
||||
$(libxml_la_SOURCES): $(srcdir)/libxml
|
||||
|
||||
testall : tests SVGtests SAXtests XPathtests XMLenttests
|
||||
testall : tests SVGtests SAXtests XPathtests
|
||||
|
||||
tests: XMLtests HTMLtests Validtests
|
||||
tests: XMLtests XMLenttests HTMLtests Validtests
|
||||
|
||||
HTMLtests : testHTML
|
||||
@(rm -f .memdump ; touch .memdump)
|
||||
|
7
TODO
7
TODO
@ -6,9 +6,6 @@
|
||||
TODO:
|
||||
=====
|
||||
|
||||
- If the internal encoding is not UTF8 saving to a given encoding doesn't
|
||||
work => fix to force UTF8 encoding ...
|
||||
- problem when parsing hrefs with & with the HTML parser (IRC ac)
|
||||
- DOM needs
|
||||
xmlAttrPtr xmlNewDocProp(xmlDocPtr doc, const xmlChar *name, const xmlChar *value)
|
||||
int xmlPruneProp(xmlNodePtr node, xmlAtttrPtr attr);
|
||||
@ -93,6 +90,10 @@ EXTENSIONS:
|
||||
Done:
|
||||
=====
|
||||
|
||||
- problem when parsing hrefs with & with the HTML parser (IRC ac)
|
||||
- If the internal encoding is not UTF8 saving to a given encoding doesn't
|
||||
work => fix to force UTF8 encoding ...
|
||||
done, added documentation too
|
||||
- Add an ASCII I/O encoder (asciiToUTF8 and UTF8Toascii)
|
||||
- Issue warning when using non-absolute namespaces URI.
|
||||
- the html parser should add <head> and <body> if they don't exist
|
||||
|
@ -1369,7 +1369,9 @@ xmlNanoFTPCloseConnection(void *ctx) {
|
||||
return(-1);
|
||||
}
|
||||
if (res == 0) {
|
||||
#ifdef DEBUG_FTP
|
||||
fprintf(stderr, "xmlNanoFTPCloseConnection: timeout\n");
|
||||
#endif
|
||||
close(ctxt->controlFd); ctxt->controlFd = -1;
|
||||
} else {
|
||||
res = xmlNanoFTPGetResponse(ctxt);
|
||||
|
@ -656,7 +656,7 @@ xmlNanoHTTPConnectAttempt(struct in_addr ia, int port)
|
||||
}
|
||||
|
||||
if ( FD_ISSET(s, &wfd) ) {
|
||||
int len; /* was socklen_t barfed on some systems :-( */
|
||||
unsigned int len; /* was socklen_t barfed on some systems :-( */
|
||||
len = sizeof(status);
|
||||
if (getsockopt(s, SOL_SOCKET, SO_ERROR, &status, &len) < 0 ) {
|
||||
/* Solaris error code */
|
||||
|
@ -1,2 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0"?>
|
||||
<title>my title</title>
|
||||
|
Loading…
x
Reference in New Issue
Block a user