W3C home > Mailing lists > Public > uri@w3.org > January 2007

Re: JavaScript implementation of RFC 3986 / STD 66 URI ref resolution

From: Dan Connolly <connolly@w3.org>
Date: Thu, 04 Jan 2007 13:40:54 -0600
To: Mike Brown <mike@skew.org>
Cc: uri@w3.org
Message-Id: <1167939655.4053.58.camel@dirk>

On Thu, 2007-01-04 at 09:07 -0700, Mike Brown wrote:
> Someone, perhaps from this list, was talking to me a while back about a 
> JavaScript implementation of RFC 3986 sec. 5.2 (URI reference resolution to 
> absolute form) and the subtask of splitting a URI ref into its major 
> components.  IIRC they were basing it on my implementation in 4Suite (Python)
> and they had to work around some cross-browser RegExp engine issues.
> I've just come across a need for a JavaScript implementation, myself, and have 
> run into those same issues. It's one of those "works great in Firefox, too bad 
> about IE" situations, although I'm pretty sure I can work around it.  I'd like 
> to draw upon prior art, though, if possible.  Google turns up nothing offhand. 
> Anyone have a working-in-IE JavaScript implementation I could take a look at?

Have you seen this one? I'm not sure if it works in IE.

but it comes with tests.

See also

> Thanks
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Thursday, 4 January 2007 19:41:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:10 UTC