[ exist-Bugs-2016332 ] Httpclient and default namespace

View: New views
1 Messages — Rating Filter:   Alert me  

[ exist-Bugs-2016332 ] Httpclient and default namespace

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #2016332, was opened at 2008-07-11 20:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=117691&aid=2016332&group_id=17691

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: cjwallace (cjwallace)
Assigned to: Nobody/Anonymous (nobody)
Summary: Httpclient and default namespace

Initial Comment:
Version 1.3dev rev7890

let $status := string( httpclient:get(xs:anyURI("http://www.oreillynet.com/"),false(),())/@statusCode)
return
  <report>{$status}</report>

yields

<report xmlns="http://www.w3.org/1999/xhtml">200</report>  

where the default namespace has percolated up to the constructed node from the body of the page retrieved.

But for a different page with the same default namespace: http://www.uwe.ac.uk/ the output is
 
<report>200</report>

as expected.

Cant see what is exceptional about this page.  


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=117691&aid=2016332&group_id=17691

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open
LightInTheBox - Buy quality products at wholesale price