Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4898904

XMLReaderFactory don't evaluate META-INF/services

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.2
    • xml

      Name: gm110360 Date: 07/30/2003


      FULL PRODUCT VERSION :
      java version "1.4.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
      Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

      FULL OPERATING SYSTEM VERSION :Windows NT Version 4.0


      A DESCRIPTION OF THE PROBLEM :
      The search strategy for a usable XMLReader should follow
      the rules of the original (see
      http://www.saxproject.org/apidoc/org/xml/sax/helpers/XMLReaderFactory.html). Specialy when using applets, which don't have
      access to SystemProperties, the lookup in META-
      INF/services/org.xml.sax.driver is very helpful.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Try to parse an XML file with Piccolo.jar
      (http://piccolo.sourceforge.net/) instead of your own ones

      JUSTIFICATION :
      If the system property org.xml.sax.driver isn't set,
      XMLReaderFactory (the one of j2sdk1.4) doesn't find any
      usable XMLReader class. The behavior of xerces or Piccolo
      is, that they take a default parser, not nothing.

      CUSTOMER WORKAROUND :
      Don't take XMLReaderFactory class of j2sdk1.4. Not really a
      workaround, because it is already contained in the 1.4
      rt.jar.
      (Incident Review ID: 167014)
      ======================================================================

            nbajajsunw Neeraj Bajaj (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: