>>>>> "Chris" == Chris Burdess <[EMAIL PROTECTED]> writes:

Chris> Please review the following patch for conformance to the API
Chris> specification of DatatypeFactory.newInstance

Looking pretty good.

Chris> +        // 2. jaxp.properties property
Chris> +        File javaHome = new File(System.getProperty("java.home"));
Chris> +        File javaHomeLib = new File(javaHome, "lib");

We usually use gnu.classpath.home.url here.

Chris> +        // 3. services
Chris> +        InputStream in = DatatypeFactory.class.getClassLoader()
Chris> +          .getResourceAsStream("/META-INF/services/" +
Chris> +                               DATATYPEFACTORY_PROPERTY);

We usually use gnu.classpath.ServiceFactory for this kind of thing.

Tom

Reply via email to