WORA help required
Peter Murray-Rust
peter at ursus.demon.co.uk
Sun Nov 30 08:31:16 GMT 1997
At 17:19 29/11/97 -0800, Mark L. Fussell wrote:
Many thanks Mark.
>
[...]
>
>No solutions, just a couple comments. The 100% Pure tester warns about
>all hardcoded '/' and '\', so these are obviously considered non-WORA.
>For most of these you can use either the functionality within a class
>(File concatenation) or the System.properties:
> * <dt>file.separator <dd>File separator ("/" on Unix)
> * <dt>user.home <dd>User home directory
> * <dt>user.dir <dd>User's current working directory
> * <dt>java.home <dd>Java installation directory
At one stage I *did* use File.separator. However I don't think it's
relevant, except when the system interacts directly with the local file
system. I converted this to SLASH (i.e. '/'), since this is what is
required in URLs.
My problem was/is that I believe some of the class libraries to be buggy on
some implementations (or at least poorly documented).
>
>URL's should generally work with standard URL notation (it is up to the
>implementation to work correctly).
If I come up with what I think is a bug, I'll post it :-)
P.
>
>--Mark
>mark.fussell at chimu.com
>
>
>
>xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
>To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
>(un)subscribe xml-dev
>To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
>subscribe xml-dev-digest
>List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
>
>
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list