ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liz Burke-Scovill" <fiddledra...@gmail.com>
Subject Using <GET> with more than one parameter/value pair
Date Thu, 15 Jun 2006 17:09:05 GMT
I've been looking for documentation, but couldn't find anything that
specifically discusses what I'm running into. Whether it's not there, or I'm
using the wrong search terms, I'm hoping that someone here can help me.

I have a GET request that has the following pattern:
http://www.foo.com?parm1=value1&parm2=value2&parm3=value3

When I attempt to run the task, I get the following error message (with -v
used). I have tried putting in a delimiter as suggested, tried just 2
parameters. The only time it's gone through has been when there was only one
parameter in the GET:

C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\testsite\build.xml:38: The reference to entity "parm2" must end
with the ';' delimiter.
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java
:233)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java
:140)
    at org.apache.tools.ant.ProjectHelper.configureProject(
ProjectHelper.java:91)
    at org.apache.tools.ant.Main.runBuild(Main.java:653)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: org.xml.sax.SAXParseException: The reference to entity "parm2"
must end with the ';' delimiter.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown
Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java
:217)
    ... 6 more
--- Nested Exception ---
org.xml.sax.SAXParseException: The reference to entity "parm2" must end with
the ';' delimiter.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown
Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java
:217)
    at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java
:140)
    at org.apache.tools.ant.ProjectHelper.configureProject(
ProjectHelper.java:91)
    at org.apache.tools.ant.Main.runBuild(Main.java:653)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Total time: 0 seconds

Thanks for any assistance or insight!

Liz Burke-Scovill
-- 
Imagination is intelligence having fun...
fiddledragon@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message