Re: uri parser?
Keiron, Thanks. I was looking at the handling of 'url(...)' in the property expression parser, and I thought that the general solution would be a uri parser. Peter Keiron Liddle wrote: > On 2001.11.20 16:23 Peter B. West wrote: > >> Does anyone know of a general URI parser tucked away in the code >> somewhere, or failing that, available elsewhere? >> >> Peter > > > There is a uri parser in batik since they also need to handle uri's. > This is one of the classes that is used: > >http://cvs.apache.org/viewcvs.cgi/xml-batik/sources/org/apache/batik/util/ParsedURL.java?rev=1.9&content-type=text/vnd.viewcvs-markup > -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest "Lord, to whom shall we go?" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: uri parser?
On 2001.11.20 16:23 Peter B. West wrote: > Does anyone know of a general URI parser tucked away in the code > somewhere, or failing that, available elsewhere? > > Peter There is a uri parser in batik since they also need to handle uri's. This is one of the classes that is used: http://cvs.apache.org/viewcvs.cgi/xml-batik/sources/org/apache/batik/util/ParsedURL.java?rev=1.9&content-type=text/vnd.viewcvs-markup - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: uri parser?
Ulrich, I don't have much understanding of this arcana, but it looks as though java.net.URL will parse a known http: protocol URL. It won't identify the extent of a URL in piece of input text, or so it seems on cursory examination. I had just noticed that there was no lexical token for a URI-SPECIFICATION in PropertyParser, and wondered whether it was easy to find a parser. Peter Ulrich Mayring wrote: > "Peter B. West" wrote: > >>Does anyone know of a general URI parser tucked away in the code >>somewhere, or failing that, available elsewhere? >> > > How about java.net.URL? > > Ulrich > > -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest "Lord, to whom shall we go?" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: uri parser?
HTTPPool has a URI class that is quite a bit better than the java.net.URL class. It can be found at http://www.innovation.ch/java/HTTPClient/ Regards, Scott Sanders -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 7:23 AM To: fop-dev Subject: uri parser? Does anyone know of a general URI parser tucked away in the code somewhere, or failing that, available elsewhere? Peter -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest "Lord, to whom shall we go?" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: uri parser?
"Peter B. West" wrote: > > Does anyone know of a general URI parser tucked away in the code > somewhere, or failing that, available elsewhere? How about java.net.URL? Ulrich -- Ulrich Mayring DENIC eG, Systementwicklung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]