Hi Bruno,

additional questions/comments.

I found the following code fragment:

// it is a network reference (part 4 of the algorithm)
if (url2Parts[AUTHORITY] != null)
    return makeUrl(url1Parts[SCHEME], url2Parts[AUTHORITY],
url2Parts[PATH],
                   url2Parts[QUERY], url2Parts[QUERY]);

As you see the QUERY is appended twice, the same for the part 5 section. Is
this correct?
Is it possible to have a query and a fragment? If yes, the fragment is then
part of the query because of the latest code changes.
With the latest change we also can reduce the regexp from
^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?
to
^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)
and loop in parseUrl method only to 6 instead of 9.

What do you think?

Volker

On Tue, 2003-06-10 at 11:16, Carsten Ziegeler wrote:
> Bruno Dumon wrote:
> >
> > Yep, after trying it out I saw it too.
> >
> > Anybody working on this already? (or can I do it?)
> >
> No, I'm not :) so: go for it ;)
>

done :-)

--
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]






Reply via email to