[jdom-interest] TrAX feature strings

Alex Rosen arosen at silverstream.com
Mon Sep 16 08:49:24 PDT 2002


It doesn't look like others follow this rule. Looking at a couple of Xerces
features:

http://xml.org/sax/features/validation

http://apache.org/xml/features/validation/dynamic

Both of them give me a 404.

Alex

> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Elliotte
> Rusty Harold
> Sent: Monday, September 16, 2002 10:57 AM
> To: jdom-interest
> Subject: [jdom-interest] TrAX feature strings
>
>
> JDOMResult has the following field:
>
> public final static String JDOM_FEATURE =
>                        "http://org.jdom.transform.JDOMResult/feature";
>
> JDOMSource has:
>
>    public final static String JDOM_FEATURE =
>                        "http://org.jdom.transform.JDOMSource/feature";
>
>
> Five years of teaching people about namespaces has made me extremely
> leary of using any string that starts with "http://" and isn't
> resolvable.  I suggest we change the features strings to
> something like
> these:
>
> public final static String JDOM_FEATURE =
>
> "http://www.jdom.org/org.jdom.transform.JDOMResult/feature";
>
> public final static String JDOM_FEATURE =
>
> "http://www.jdom.org/org.jdom.transform.JDOMSource/feature";
>
> and then put a page there.
>
> 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.
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com




More information about the jdom-interest mailing list