<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi Folks,<br></div><div><br></div><div>No biggie, just interesting...<br></div><div><br></div><div><br></div><div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div>    |tree url |<br></div><div>    url := '<a target="_blank" href="https://w1.weather.gov/xml/current_obs/index.xml">https://w1.weather.gov/xml/current_obs/index.xml</a>'.<br></div><div>    tree := (XMLDOMParser on:  (HTTPLoader default retrieveContentsFor: url) contents<br></div><div>    ) parseDocument.<br></div><div>    tree explore.<br></div><div><br></div><div>(XMLDOMParser onURL: '<a target="_blank" href="https://w1.weather.gov/xml/current_obs/index.xml">https://w1.weather.gov/xml/current_obs/index.xml</a>') parseDocument; explore.  "throws an error"<br></div></blockquote><br></div><div><br></div><div>The first form works on squeak.<br></div><div>The latter form works on pharo.<br></div><div>The latter does NOT Squeak because the XMLHTTPException: Forbidden (403) error gets thrown.<br></div><div><br></div><div>It is interesting that a platform difference would cause that error.<br></div><div><br></div><div>No biggie, but I would like to include a common retrieval method for both platforms in the XPathHelp (May turn it into a book down the road,too)<br></div><div><br></div><div>cheers.</div></div><br></body></html>