473,394 Members | 1,751 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 31338
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 the client to do it because my web server is behind...
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 incorporates a few forms. I just created my first...
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 xmlhttp = new XMLHTTP(); xmlhttp.open("POST",...
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 without SP1. After searching the web, it seems...
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 locate the resource specified. Error processing...
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 me out to solve this.
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 locate the resource specified". The size of the xml...
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: ======== url = "amazon.fr/search/index.php?url=search"
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.