[jdom-interest] TrAX feature strings

Elliotte Rusty Harold elharo at metalab.unc.edu
Mon Sep 16 09:31:42 PDT 2002

At 5:10 PM +0200 9/16/02, Laurent Bihanic wrote:
>Elliotte Rusty Harold wrote:

>The JAXP TrAX spec. mandates that the feature name be "an absolute 
>URI" (see javax.xml.transform.TransformerFactory.getFeature()).
>The JAXP TrAX classes themselves use unresolvable URLs, for example 
>"http://javax.xml.transform.sax.SAXSource/feature" for SAXSource.

OK, so let's rule out the option of making them non-URIs. I still 
think they should be resolvable, legal http URLs or just maybe URNs. 
Making them illegal, non-resolvable http URLs is asking for trouble. 
(javax.xml.transform.sax.SAXSource is not a host as required by the 
HTTP 1.1 spec.) It may be too late for the JAXP TrAX classes (I wish 
I'd noticed this in JAXP earlier) but it's not too late for JDOM.

| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |

More information about the jdom-interest mailing list