Patch from Edwin Wouldt to compensate for NT's losing handling of head

tag. Awaiting Sun to address the issue.
This commit is contained in:
grail%cafebabe.org 1999-01-29 06:42:41 +00:00
Родитель aed19ff6e8
Коммит 808b30a414
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -112,10 +112,12 @@ public class XMLMenuBuilder {
tree = new TreeWalker(current);
// get the link tag for this file
node = tree.getNextElement("head");
// node = tree.getNextElement("head");
// get into head and get the first element
node = node.getFirstChild();
node = node.getNextSibling();
node =
tree.getNextElement("head").getElementsByTagName("link").item(0);
// node = node.getFirstChild();
// node = node.getNextSibling();
// set the configuration contained in this node
setConfiguration((Element)node);