469,330 Members | 1,373 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,330 developers. It's quick & easy.

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 30138
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.