[jdom-interest] Build problem + getText bug ?

Christophe D. Laprun chris.laprun at nist.gov
Wed Sep 6 11:39:44 PDT 2000


Hi all,

I had a bug with Element.getText so I updated my sources with the latest
version from the CVS and I got the following error when trying to build
jdom.jar:

BUILD CONFIG ERROR: Configuration property "dir" does not have a
setMethod in class org.apache.tools.ant.taskdefs.Replace
org.apache.tools.ant.BuildException: Configuration property "dir" does
not have a setMethod in class org.apache.tools.ant.taskdefs.Replace
	at org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:336)
	at
org.apache.tools.ant.ProjectHelper.configureTasks(ProjectHelper.java:203)
	at
org.apache.tools.ant.ProjectHelper.configureTargets(ProjectHelper.java:174)
	at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:133)
	at org.apache.tools.ant.Main.runBuild(Main.java:223)
	at org.apache.tools.ant.Main.main(Main.java:191)

The bug on getText is that for the document below, getText on a user
element doesn't return null but several blank lines...
<?xml version="1.0"?>
<!DOCTYPE log SYSTEM "../../../dtd/commlog.dtd">

<log wer="63.6">
<user stime="962315351.690000" etime="962315351.690000" wer="160.0">
   <ref>****** ** BARCE[LONA] /THROAT_CLEAR/ BARCELONA_SPAIN from ******
** DENVER_COLORADO </ref>
   <hyp>BOSTON TO BOSTON      OR             CHEYENNE        from DENVER
TO ROME            </hyp>
   <sco>I      I  S           S              S                    I     
I  S               </sco>
</user>
...

</log>

Can someone confirm or infirm that this is a bug ?

Thanks,

Chris

-- 
Christophe Laprun    [Ingenieur ISIMA, France / Guest researcher @NIST]
web: http://www.nist.gov/speech/staff/laprunch.htm
email: chris.laprun at nist.gov
phone: (301) 975 3191             fax: (301) 670 0939
--
The universe seems neither benign nor hostile, merely indifferent -
Sagan



More information about the jdom-interest mailing list