Hi there,

When I try registering a CA domain with an invalid canadian phone number, I 
get an error response as expected. However, this error response is 
mysteriously truncated so that my program barphs when it tries to parse the 
XML. Any idea's why this might be happening?

Here's a sample XML response, last line received is the one with 
transaction_id:


<?xml version='1.0' encoding="UTF-8" standalone="no" ?>
<!DOCTYPE OPS_envelope SYSTEM "ops.dtd">
<OPS_envelope>
<header><version>0.9</version></header>
<body>
<data_block>
  <dt_assoc>
   <item key="is_success">0</item>
   <item key="protocol">XCP</item>
   <item key="object">DOMAIN</item>
   <item key="attributes">
   <dt_assoc>
    <item key="registration_text">Command failed
The following error(s) are related to the administrative contact:
1231231233 Invalid phone number : 1231231233
1231231233 Invalid fax number : 1231231233
End of error(s) related to administrative contact.
: </item>
     <item key="registration_code">400</item>
     <item key="id">401575</item>
    </dt_assoc>
   </item>
   <item key="response_text">Command failed
The following error(s) are related to the administrative contact:
1231231233 Invalid phone number : 1231231233
1231231233 Invalid fax number : 1231231233
End of error(s) related to administrative contact.
: </item>
   <item key="response_code">400</item>
   <item key="transaction_id">Mon Mar 25 17:36:57 2002_Child#273667

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

Reply via email to