[jdom-interest] Build problems

Mark_Brown at aoncons.com Mark_Brown at aoncons.com
Fri Nov 10 07:37:50 PST 2000


I've downloaded the Beta 5 archive.  I've also downloaded the daily snapshot
(jdom-src.zip) as of yesterday 11/9/2000.  When I attempt to build the source, I
get 3 errors as follows:


F:\jdom>build
JDOM Build System
-------------------
Building with classpath f:\jdk1.3\lib\tools.jar;.\lib\xerces.jar;.\lib\ant.jar;
Starting Ant...
Buildfile: build.xml

init:
----------- JDOM 1.0beta5 [2000] ------------

prepare:

prepare-src:

collections:

compile:
    [javac] Compiling 2 source files to F:\jdom\build\classes
    [javac] F:\jdom\build\src\org\jdom\output\DOMOutputter.java:263: Method
createAttributeNS(java.lang.String, java.lan
g.String) not found in interface org.w3c.dom.Document.
    [javac]              domAttr =
domDoc.createAttributeNS(attribute.getNamespaceURI(),
    [javac]                                                ^
    [javac] F:\jdom\build\src\org\jdom\input\DOMBuilder.java:416: Method
getPublicId() not found in interface org.w3c.do
m.DocumentType.
    [javac]                 String publicID = domDocType.getPublicId();
    [javac]                                                         ^
    [javac] F:\jdom\build\src\org\jdom\input\DOMBuilder.java:417: Method
getSystemId() not found in interface org.w3c.do
m.DocumentType.
    [javac]                 String systemID = domDocType.getSystemId();
    [javac]                                                         ^
    [javac] 3 errors

BUILD FAILED

build.xml:144: Compile failed

Total time: 2 seconds
F:\jdom>

It appears that the methods that can't be found are from org.w3c.dom.Document
and org.w3c.dom.DocumentType.
I have reviewed the documentation for the dom package and can't find any
reference to these methods.
What am I doing wrong?

Thanks in advance,
Mark Brown





More information about the jdom-interest mailing list