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:
Родитель
aed19ff6e8
Коммит
808b30a414
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче