[SOLUTION] getting krysalis to work under cocoon
Jorg Heymans <[email protected]> Thu, 20 Nov 2003 12:02:11 +0100
| Newsgroups | gmane.comp.krysalis.user |
|---|---|
| Message-ID | <[email protected]> |
For anyone else just picking up on this thread, the history of this can
be found here
http://sourceforge.net/mailarchive/forum.php?thread_id=3492729&forum_id=7972
@jeremias
In the processNode method this bit gets exec'ed.
} else if (node.getNodeType() == Node.DOCUMENT_NODE) {
return processElement(findDocumentElement((Document)node));
Now it identifies the <barcode> element as the documentelement allright.
However in call below
private static DefaultConfiguration processElement(Element el) {
DefaultConfiguration cfg = new DefaultConfiguration(el.getLocalName());
....
el.getLocalName returns null. I changed this to el.getNodeName and now
it works.
Now who is right here?
Jorg
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/