<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jan 9, 2015, at 10:30 AM, Zhao, Sean <<a href="mailto:Sean.Zhao@CenturyLink.com" class="">Sean.Zhao@CenturyLink.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Hi, again<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Since I have not got any response. I used<span class="Apple-converted-space"> </span><a href="http://whois.ote.arin.net/rest/cidr/65.127.10.160/29/more" style="color: purple; text-decoration: underline;" class="">http://whois.ote.arin.net/rest/cidr/65.127.10.160/29/more</a><span class="Apple-converted-space"> </span>to
get the xml from Arin’s RESTful server. I got this <nets><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<?xml version='1.0'?><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<?xml-stylesheet type='text/xsl' href='<a href="http://whois.arin.net/xsl/website.xsl'" style="color: purple; text-decoration: underline;" class="">http://whois.arin.net/xsl/website.xsl'</a><span class="Apple-converted-space"> </span>?><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<nets xmlns="<a href="http://www.arin.net/whoisrws/core/v1" style="color: purple; text-decoration: underline;" class="">http://www.arin.net/whoisrws/core/v1</a>"<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
xmlns:ns2="<a href="http://www.arin.net/whoisrws/rdns/v1" style="color: purple; text-decoration: underline;" class="">http://www.arin.net/whoisrws/rdns/v1</a>"<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
xmlns:ns3="<a href="http://www.arin.net/whoisrws/netref/v2" style="color: purple; text-decoration: underline;" class="">http://www.arin.net/whoisrws/netref/v2</a>"<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 1in; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
termsOfUse=<a href="https://www.arin.net/whois_tou.html" style="color: purple; text-decoration: underline;" class="">https://www.arin.net/whois_tou.html</a>inaccuracyReportUrl="<a href="http://www.arin.net/public/whoisinaccuracy/index.xhtml" style="color: purple; text-decoration: underline;" class="">http://www.arin.net/public/whoisinaccuracy/index.xhtml</a>"><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
<limitExceeded limit="256">false</limitExceeded><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
<netRef startAddress="65.127.10.176"<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 1in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
endAddress="65.127.10.183"<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 1in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
name="Q0818-65-127-10-176"<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 1in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
handle="NET-65-127-10-176-1"><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
<a href="http://whois.ote.arin.net/rest/net/NET-65-127-10-176-1" style="color: purple; text-decoration: underline;" class="">http://whois.ote.arin.net/rest/net/NET-65-127-10-176-1</a><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
</netRef><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
<netRef startAddress="65.127.10.168"<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 1in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
endAddress="65.127.10.175"<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 1in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
name="Q0820-65-127-10-168"<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 1in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
handle="NET-65-127-10-168-1"><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
<a href="http://whois.ote.arin.net/rest/net/NET-65-127-10-168-1" style="color: purple; text-decoration: underline;" class="">http://whois.ote.arin.net/rest/net/NET-65-127-10-168-1</a><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; text-indent: 0.5in;" class="">
</netRef><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
</nets><o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Just need to confirm that this is the correct response. The list of netRef can be null if there is no 65.127.10.160/29 in Arin’s DB. Correct? Do I miss any other elements?. Just need to make sure that I won’t get the code crash if there is new element showing
up in <nets>. I will appreciate if I can get any response from you.<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
</div>
</blockquote>
<br class="">
</div>
<div>Sean,</div>
<div><br class="">
</div>
<div>The list will not contain any netRef elements if there are no records matching the query.</div>
<div><br class="">
</div>
<div>However, your program should account for a scenario where new elements may show up. Our XML schema is extensible, and we do add new elements from time to time. In general, it is good practice to ignore unknown elements and names in both XML and JSON.</div>
<div><br class="">
</div>
<div>The schemas for Whois-RWS can be found here: <a href="https://www.arin.net/resources/whoisrws/whoisrws-relaxng-compact-schemas.zip" class="">Whois-RWS Schema (ZIP format)</a></div>
<div><br class="">
</div>
<div>I hope this answers your question.</div>
<div><br class="">
</div>
<div>Andy Newton,</div>
<div>Chief Engineer, ARIN</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</body>
</html>