[jdom-interest] TrAX feature strings

Laurent Bihanic laurent.bihanic at atosorigin.com
Mon Sep 16 08:10:08 PDT 2002


Elliotte Rusty Harold wrote:
> Alternately, we could make them something that clearlyisn't a URL such 
> as "org.jdom.transform.JDOMResult/feature" and 
> "org.jdom.transform.JDOMSource/feature". However, an unresolvable URL 
> will confuse people.

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.

Laurent




More information about the jdom-interest mailing list