From: Thomas W. <tho...@gm...> - 2010-03-26 14:22:38
|
Stefan, You are right. The definition in Section 3 in rfc3986 is: URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] For some reason I was under the impression the hash goes before the query. Now it is clear. Thank you for your help. Thomas "Stefan Majewski" <ste...@un...> wrote in message news:4BA...@un...... > >> URL like ..exist/test.xql?p1=11&p2=22 >> work fine > > as expected, the query part comes after the path in an URI, so that > should work > >> but with URL like ..exist/test.xql*#top*?p1=11&p2=22 >> request:get-parameter-names returns an empty set. > > Also, as expected. The function is, I think, right, as the part after # > is the fragment part of the URI. Thus the last possible part in the > grammar for URI: > > URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] > > therefore you have *top*?p1=11&p2=22 as the identified fragment and no > query. See rfc3986 for more information on the construction of URIs. > Maybe you wanted something like this? > > ..exist/test.xql**?p1=11&p2=22*#top* > > > cheers, > stefan > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev |