Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

RE: [jdom-interest] debug everywhere

Syloke Soong

2007-01-21

Replies:

Ohhh (wiping sweat of my brows) ... now I get it.
systemId is synonymous to File URI.

Don't you agree that such definition like systemId should be included in
jdom javadoc and links to it from any api doc that refers to systemId?

e.g. jdk javadoc on String and regexp have links to what a "pattern" is.

-----Original Message-----
From: Michael Kay [mailto:mike@(protected)]
Sent: Saturday, January 20, 2007 6:31 PM
To: Syloke Soong; 'Jason Hunter'; dmatthews@(protected)
Cc: jdom-interest@(protected)
Subject: RE: [jdom-interest] debug everywhere

> To avoid treading the trepidating & unknown (at least, to me)
> path towards using systemId, what I currently do is simply
> create an InputSource from a File.

File.toURI().toString()

is a pretty reliable recipe.

Michael Kay
http://www.saxonica.com/



_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.