472,333 Members | 1,127 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,333 software developers and data experts.

The system cannot locate the resource specified. Error processing resource

Hi,

I'm getting the folowing error when tring to open xml file:
--------------------------------------------------------------------------------
The system cannot locate the resource specified. Error processing
resource 'file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd'.
Error processing resource
'file:///D:/omsj/suite/bb/omspo/v46_0/omsserver/o/deploy/omsserver/getCustomerDetailsResponse.xml'.
Line 2, Position 93

<!DOCTYPE service SYSTEM
"file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">
--------------------------------------------------------------------------------
The xml look like that:
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service SYSTEM
"file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">

<service>
<header>
<session ID="13"/>
</header>
<body>
<customer customerId="3002">
<customerDetails creditClass="High" creditStatus="Good"
marketSegment="Residential" communicationLanguage="English"
blackListInd="False" title="Mister" firstName="Bill"
officialLanguage="English" lastName="Clinton"/>
<addressDetails state="IL" street="W North Ave"
streetNumber="1000" country="USA" municipality="Chicago"
postCode="78328"/>
</customer>
</body>
</service>
--------------------------------------------------------------------------------
The path of the xml is:
D:\omsj\suite\bb\omspo\v46_0\omsserver\o\deploy\om sserver
and the path of the DTD file is:
D:\omsj\suite\bb\omspo\v46_0\omsserver\o\deploy\om sserver\xml\amdocs\oms\opi\customer

When I change the path of the DTD in the xml file to:
<!DOCTYPE service SYSTEM
"file:D:/omsj/suite/bb/omspo/v46_0/omsserver/o/deploy/omsserver/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">

it's work just fine.
Why it does not work with relative path ?
Jul 20 '05 #1
2 31023
In article <fd**************************@posting.google.com >,
avishosh <ae*******@walla.co.il> wrote:
<!DOCTYPE service SYSTEM
"file:/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd"> When I change the path of the DTD in the xml file to:
<!DOCTYPE service SYSTEM
"file:D:/omsj/suite/bb/omspo/v46_0/omsserver/o/deploy/omsserver/xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">

it's work just fine. Why it does not work with relative path ?


Because that isn't a relative path. Relative URLs don't start with file:,
and you don't want the first slash either.

Try

<!DOCTYPE service SYSTEM
"xml/amdocs/oms/opi/customer/getCustomerDetailsResponse.dtd">

-- Richard
Jul 20 '05 #2
Thanks a lot. It solve my problem and now I understand.

-Avishay
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Anthony | last post by:
I am trying to make a simple page display a rss news feed.. I don't want the web server to connect to remote site because it doesn't work. I want...
13
by: Brad | last post by:
I will also post this in the CR group but because I program in VB maybe somebody here might be able to help. I am working on a new project that...
0
by: SushiSean | last post by:
When executing the xmlhttp.send function to request shipper for available shipments (I send xml as string and receive result xml): XMLHTTP...
2
by: Chris | last post by:
Hi, I installed Visual Studio 2005 SP1, my application does not start on machines without Visual Studio installed any more. It was working...
1
by: prakast1113 | last post by:
The following error is coming while opening a xml file.. how to rectify that.. I am a new person to xml.. so explain clearly... The system cannot...
2
by: Raman Pahwa | last post by:
I am getting the following error in my ASP code: msxml3.dll error '800c0005' The system cannot locate the resource specified. Please help...
0
by: Rishi | last post by:
Hi, I'm using xhttp to send a xml file to another remote place wiht POST method. In the place xhttp.send I got the error "the system cannot...
3
by: svbnagarajan | last post by:
The system cannot locate the resource specified on xmlhttp.send execution. what is the rootcause of the error.
2
by: Gilles Ganault | last post by:
Hello I'm trying to use urllib to download web pages with the GET method, but Python 2.5.1 on Windows turns the URL into something funny: ...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.