Thanks..
it worked when I used the value:
file:../suites-master/builder-depend.xml
Shawn D.
-Original Message-
From: Paul Libbrecht [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 9:19 AM
To: Maven Users List
Subject: Re: external entity problem
You might be hitting the same problem as I had: the InputSource is not
appropriately set with the setSystemId hence the parser expects that
the file being parsed is in the local directory or that it is an
absolute URL...
Also try with file://../suites maybe but I don't think it should be the
case.
Paul
On Mercredi, nove 19, 2003, at 15:15 Europe/Paris, Dahlen Jr, Shawn M
wrote:
> Hello -
>
> I'm having an issue with an external entity declared in one of my
> maven projects. The external
> entity is relative to the current project, yet it seems that the URI
> is expanded and it believes my
> drive letter is a host that cannot be found. Below is the reference:
>
> "../suites-master/builder-depend.xml">
> ]>
>
> Is there an issue with the xml parser? What is the best solution to
> overcome this probem?
> I noticed that an individual posted a message about this issue but he
> received no replies, and
> I can't find any additional info. Any help would be appreciated.
> Below is the error when I run maven:
>
> java.net.UnknownHostException: i
> at java.net.InetAddress.getAllByName0(InetAddress.java:566)
> at java.net.InetAddress.getAllByName0(InetAddress.java:535)
> at java.net.InetAddress.getByName(InetAddress.java:444)
> at java.net.Socket.(Socket.java:95)
> at sun.net.NetworkClient.doConnect(NetworkClient.java:45)
> at sun.net.NetworkClient.openServer(NetworkClient.java:33)
> at sun.net.ftp.FtpClient.openServer(FtpClient.java:262)
> at sun.net.ftp.FtpClient.(FtpClient.java:376)
> at
> sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja
> va:72)
> at
> sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec
> tion.java:91)
> at java.net.URL.openStream(URL.java:793)
> at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
> Source)
> at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityRefer
> ence(Unknown Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
> Dispatcher.dispatch(Unknown Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
> known Source)
> at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> at
> org.apache.commons.digester.Digester.parse(Digester.java:1527)
> at org.apache.maven.MavenUtils.getProject(MavenUtils.java:199)
> at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160)
> at
> org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
> :324)
> at
> org.apache.maven.MavenSession.initialize(MavenSession.java:234)
> at org.apache.maven.cli.App.doMain(App.java:514)
> at org.apache.maven.cli.App.main(App.java:1088)
> at java.lang.reflect.Method.invoke(Native Method)
> at com.werken.forehead.Forehead.run(Forehead.java:543)
> at com.werken.forehead.Forehead.main(Forehead.java:573)
>
> Thanks,
>
> Shawn Dahlen
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]