To:
ietf-provreg@cafax.se, "Hollenbeck, Scott" <shollenbeck@verisign.com>
From:
Eugenio Pinto <eugenio.pinto@fccn.pt>
Date:
Wed, 02 Apr 2008 12:07:21 +0100
In-Reply-To:
<046F43A8D79C794FA4733814869CDF070231F785@dul1wnexmb01.vcorp.ad.vrsn.com>
Sender:
owner-ietf-provreg@cafax.se
User-Agent:
Thunderbird 2.0.0.12 (Windows/20080213)
Subject:
[ietf-provreg] defining a reason code
Title:
Hi, I have another question regarding extending response codes. I defined the following response message: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"> <response> <result code="2200"> <msg>Authentication error</msg> <value> <reason>5004</reason> </value> </result> <trID> <clTRID>FCCN-12386</clTRID> <svTRID>TRN7063050306</svTRID> </trID> </response> </epp> where the reason element represents the code to a specific verified problem. But I don't know if this is valid XML. Can I define this this way, or I must include something with the namespace? like <result code="2200"> <msg>Authentication error</msg> <value> <ptdomain:panData xmlns:ptdomain="urn:ietf:params:xml:ns:ptdomain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:ptdomain1.0 ptdomain-1.0.xsd"> <ptdomain:reason>5004</ptdomain:reason> <brdomain:panData> </value> </result> Thanks for your feedback. |