[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: java.net.URI implementation
From: |
Dalibor Topic |
Subject: |
Re: java.net.URI implementation |
Date: |
Mon, 10 Feb 2003 15:02:12 -0800 (PST) |
Hi Giannis,
--- Giannis Georgalis <address@hidden> wrote:
> Stephen Crawley <address@hidden> writes:
>
> > I'd recommend hand building a pure Java parser.
> That way, the Classpath
> > build process doesn't depend on an external parser
> or lexer generator,
> > and the source code will be easier to understand.
>
> We could include the generated files (as Brian also
> noted) and avoid
> the exotic dependencies. However, I was dissapointed
> to find out,
> that jlex and jflex did not support parsing from a
> string (flex
> supports it). That changed radically my plans... and
> on a second
> thought native code with flex goes too much.
No need to get radical. ;) As long as the parser
generator of your choice accepts input form some kind
of InputStream or Reader, you could wrap the String in
the appropriate java.io class and use that.
> > Finally, the chance that the RFC URI syntax will
> change radically is pretty
> > small, IMO.
>
> You are probably right ... but don't forget M$,
> they'll want to make
> their very own extensions to URI, sun will have to
> follow them
> etc. ;-)
that's purely hypothetical. There is already a simple
mechanism for domain specific URIs and it's called a
scheme.
cheers,
dalibor topic
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
- Re: java.net.URI implementation, (continued)
- Re: java.net.URI implementation, Giannis Georgalis, 2003/02/10
- Re: java.net.URI implementation, Per Bothner, 2003/02/10
- Re: java.net.URI implementation, Giannis Georgalis, 2003/02/10
- Re: java.net.URI implementation, Per Bothner, 2003/02/10
- Re: java.net.URI implementation, Giannis Georgalis, 2003/02/10
- Re: java.net.URI implementation, Per Bothner, 2003/02/10
Re: java.net.URI implementation, Stephen Crawley, 2003/02/10
Re: java.net.URI implementation, Dalibor Topic, 2003/02/10