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: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
