You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/08/20 12:43:33 UTC

[DO NOT REPLY: Bug 3170] New: URLs with ? type fragments in them don't work.

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3170

*** shadow/3170	Mon Aug 20 03:43:33 2001
--- shadow/3170.tmp.21424	Mon Aug 20 03:43:33 2001
***************
*** 0 ****
--- 1,30 ----
+ +============================================================================+
+ | URLs with ? type fragments in them don't work.                             |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3170                        Product: Xerces-C++              |
+ |       Status: NEW                         Version: Nightly build           |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Major                    OS/Version: All                     |
+ |     Priority: Other                     Component: Miscellaneous           |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-c-dev@xml.apache.org                                  |
+ |  Reported By: kevin.phillips@crystaldecisions.com                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ If you call, say the SAXPrint sample, and give it a url like 
+ http://p.moreover.com/cgi-local/page?c=Africa%20news&o=xml it fails.  
+ 
+ The reason for this is that the XMLURL::parse function doesn't recognise ? to 
+ signify the fragment part of the url.  If you use code like this on the lines 
+ that check for the fragment:
+ 
+ if ((*srcPtr == chPound) || (*srcPtr == chQuestion))
+ 
+ And make sure that you strcat a ? onto the beginning of the fragment in the 
+ construsctor for BinHTTPURLInputStream when it's putting together the GET, it 
+ works fine.
+ 
+ I can send you my code to fix this if you like.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org