On 22Jan2008 22:29, Maximilian Schwerin <maximilian.schwerin@...> wrote:
| I've got a question concerning MRLs in xine-lib. If I read the hackers guide
| correctly the following MRLs should be correct:
| a) vcd://dev/cdrom/
| b) dvd://dev/dvd/
| Now xine-lib does not behave according to the spec it seems:
| a) Does not work. I have to use vcd:///dev/cdrom/
| b) Works ok (dvd:///dev/dvd works aswell).
| So what is correct?
I would have said the latter is correct: 3 slashes, if MRLs are meant to
be like URLs. A leading // on a URL indicates a "host" part, so local
file URLs for example look like this:
with an empty "host" part between the "//" and "/".
I'd expect (naively) that
to be equivalent forms, and for:
to be invalid.
Remarks from those in the know? Both about what should be accepted, and
what the code just happens to accept.
Cameron Simpson <cs@...> DoD#743
Always code as if the guy who ends up maintaining your code will be a violent
psychopath who knows where you live.
- Martin Golding, DoD #0236, martin@...