Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7026

Meta model fails to be loaded in some Eclipse configurations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.2.0.M2
    • 3.2.0.M2
    • None
    • None

      Class MetaLibLoader creates instance of SAX parser using standard XMLReaderFactory.createXMLReader(className) method, which loads class by context classloader. Context class loader in some Eclipse configurations may be that which does not see library with parser implementation. It seems that we should replace this method with loading class by bundle class loader of plugin org.apache.xerces and if that plugin is not available, use DOM parser.

        1. MetaLibLoader.patch
          4 kB
          Viacheslav Kabanovich

              scabanovich Viacheslav Kabanovich (Inactive)
              scabanovich Viacheslav Kabanovich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: