[Webtest] Build failed question

Dierk Koenig webtest@lists.canoo.com
Mon, 14 Jul 2003 09:59:52 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0011_01C349EE.ABBC14E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi Anthony,

this seems to be an XML-Parser issue.

Your ANT installation seems to use an XML-Parser that does not assume
"file://" as default for SYSTEM in the doctype.

possible workarounds:

- just delete the doctype entry. It is not needed for execution. It is for
convenient editing only (unless you have additional entity definitions
there).
- put "file://" before your webtest.dtd usage. You may need to find out
whether your parser can resolve relative paths or
  absolute paths only and how it deals with slash, backslash, or doubled
backslashes in the filename
- make sure you use ant 1.5.2 or later and the Xerces version that comes
with it or the one that comes with the CanooWebTest/lib

cheers
Mittie
  -----Original Message-----
  From: webtest-admin@lists.canoo.com
[mailto:webtest-admin@lists.canoo.com]On Behalf Of
Anthony.Chamberlin@ngc.com
  Sent: Freitag, 11. Juli 2003 23:05
  To: webtest@lists.canoo.com
  Subject: [Webtest] Build failed question


  I'm somewhat new to WebTest and I have run into a problem.  I was
wondering if anyone has an idea on a fix.  When running my test I get the
following error:

  BUILD FAILED
  Error reading project file: no protocol: WebTest.dtd

  I have the protocol set as http in the WebTest.dtd file and in my
config.xml.  Any ideas?

  Tony Chamberlin
  Test Analyst
  Northrop Grumman
  801-774-3410


------=_NextPart_000_0011_01C349EE.ABBC14E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
Anthony,</FONT></SPAN></DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =
size=3D2>this=20
seems to be an XML-Parser issue.</FONT></SPAN></DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =
size=3D2>Your=20
ANT installation seems to use an XML-Parser that does not assume =
"file://" as=20
default for SYSTEM in the doctype.</FONT></SPAN></DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =

size=3D2>possible workarounds:</FONT></SPAN></DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =
size=3D2>- just=20
delete the doctype entry. It is not needed for execution. It is for =
convenient=20
editing only (unless you have additional entity definitions=20
there).</FONT></SPAN></DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =
size=3D2>- put=20
"file://" before your webtest.dtd usage. You may need to find out =
whether your=20
parser can resolve relative paths or</FONT></SPAN></DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =
size=3D2>&nbsp;=20
absolute paths only and how it deals with slash, backslash, or doubled=20
backslashes in the filename</FONT></SPAN></DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =
size=3D2>- make=20
sure you use ant 1.5.2 or later and the Xerces version that comes with =
it or the=20
one that comes&nbsp;with the CanooWebTest/lib</FONT></SPAN></DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =

size=3D2>cheers</FONT></SPAN></DIV>
<DIV><SPAN class=3D133584107-14072003><FONT face=3DArial color=3D#0000ff =

size=3D2>Mittie</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  webtest-admin@lists.canoo.com =
[mailto:webtest-admin@lists.canoo.com]<B>On=20
  Behalf Of </B>Anthony.Chamberlin@ngc.com<BR><B>Sent:</B> Freitag, 11. =
Juli=20
  2003 23:05<BR><B>To:</B> webtest@lists.canoo.com<BR><B>Subject:</B> =
[Webtest]=20
  Build failed question<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D157580221-11072003><FONT face=3DArial size=3D2>I'm =
somewhat new=20
  to WebTest and I have run into a problem.&nbsp; I was wondering if =
anyone has=20
  an idea on a fix.&nbsp; When running my test I get the following=20
  error:</FONT></SPAN></DIV>
  <DIV><SPAN class=3D157580221-11072003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D157580221-11072003><FONT face=3DArial =
size=3D2>BUILD=20
  FAILED<BR>Error reading project file: no protocol:=20
  WebTest.dtd</FONT></SPAN></DIV>
  <DIV><SPAN class=3D157580221-11072003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D157580221-11072003><FONT face=3DArial size=3D2>I =
have the=20
  protocol set as http in the WebTest.dtd file and in my =
config.xml.&nbsp; Any=20
  ideas?</FONT></SPAN></DIV>
  <DIV><SPAN class=3D157580221-11072003><FONT face=3DArial=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><FONT face=3D"Book Antiqua" color=3D#008080><EM><STRONG>Tony=20
  Chamberlin</STRONG></EM></FONT></DIV>
  <DIV><FONT face=3D"Book Antiqua" color=3D#008080><EM><STRONG>Test=20
  Analyst</STRONG></EM></FONT></DIV>
  <DIV><FONT face=3D"Book Antiqua" color=3D#008080><EM><STRONG>Northrop=20
  Grumman</STRONG></EM></FONT></DIV>
  <DIV><FONT face=3D"Book Antiqua"=20
  color=3D#008080><EM><STRONG>801-774-3410</STRONG></EM></FONT></DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0011_01C349EE.ABBC14E0--