When I set http.content.limit to "-1" so that no content will be truncated,
I get zero children for the root node in the HTMLParser. In the following
code snippte, "int len" is getting 0 when http.content.limit=-1
Am I missing something?
Code snippet from HTMLParser:
-----------------------------------------------
processNode(Node node){
/* Recursively traverse through child nodes */
NodeList children = node.getChildNodes();
if(children != null) {
int len = children.getLength();
for (int i = 0; i < len; i++) {
processNod(children.item(i)){
}
}
}
/* Some other code */
}