|
Re: [xine-cvs] CVS: xine-vcdnav/doc cd-info.txt,1.6,1.7: msg#00038video.xine.devel
Bastien Nocera writes: > Hello Rocky, > I guess I need to explain again that these aren't proper URIs. I just took a look at RCF 2396 at http://www.ietf.org/rfc/rfc2396.txt which purports describe: a "superset" of operations that can be applied to URI. It consists of both a grammar and a description of basic functionality for URI. I don't see anything in there that suggests the improperness of the changes made. If you could be a little more specific and cite a document that explains the definition you are using of URI and how this is not "proper", I'd appreciate it. > > Proper URIs would include: > cdda:/ > cdda:/// > cdda:///tmp/foo > cdda:/tmp/foo > etc. Proper URI's also include mailto:joe@xxxxxxxxxxxxxx But clearly a VCD plugin isn't trying to accept *all* URI's, just the ones that it claims to handle. In this respect, cdda:// analogous to http://, ftp://, gopher://, telnet:// among others. In fact, I'd suggest the :// ending as in cdda:// seems to be more prevalant than :/ as in cdda:/, no matter how convenient the latter. The general convention seems to be either put in // or leave out, as in 'mailto:' or 'news:' or 'about:'. But not use one /. > > The '@' would be discarded, as it is used to mark login names and > passwords before a hostname. Again if you could be more specific and cite a document purporting to represent the URI standard that indicates the '@' would be discarded, I'd greatly appreciate it. Packages that I'm familiar with, such as the Perl URI module handle @ just fine. The RFC cited above seems to allow it on equal footing as colon. The case *against* using a colon is that the part between cdda:// and the @ in this plugin can specify a filename in a file system. On some filesystems that are supported by the plugin, namely Microsoft's OS's a colon is used as a drive letter, and in other OS's as well a colon in a filesystem name is more common than using an @ in the filesystem name. Having looked at the RFC 2396 again, it occurs to me that a more logical separator which is mentioned would be # which is used in HTML to specify a part inside a document. > xine uses > URIs for compatibility with existing software (GNOME, KDE, and the world > at large). I'm all for this. In fact, believe it or not the change was made to try to be more compatible URIs used by with the world at large, vlc in particular. :-) But I'd love to be educated in such matters. What other existing software out there cdda:/3 means "track 3 of some default CD-DA drive"? And what software out there is going to break using cdda:///dev/cdrom@3? Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [xine-cvs] CVS: xine-vcdnav/doc cd-info.txt,1.6,1.7: 00038, Bastien Nocera |
|---|---|
| Next by Date: | Re: [PATCH] Small streams and file input plugin: 00038, Miguel Freitas |
| Previous by Thread: | Re: [xine-cvs] CVS: xine-vcdnav/doc cd-info.txt,1.6,1.7i: 00038, Bastien Nocera |
| Next by Thread: | Re: Re: [xine-cvs] CVS: xine-vcdnav/doc cd-info.txt,1.6,1.7: 00038, Michael Roitzsch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |