jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1994) ExportSysViewTest fails with: System property org.xml.sax.driver not specified
Date Sun, 22 Feb 2009 16:01:01 GMT
ExportSysViewTest fails with: System property org.xml.sax.driver not specified
------------------------------------------------------------------------------

                 Key: JCR-1994
                 URL: https://issues.apache.org/jira/browse/JCR-1994
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-jcr-tests
    Affects Versions: 1.5.0, 1.4, 1.3, 1.2.1, 1.1, 1.0
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Minor


The ExportSysViewTest class uses the XMLReaderFactory.createXMLReader() method that depends
on the system property "org.xml.sax.driver" being specified. Apparently using a TransformerFactory
works around this issue in some way, as the problem only appeared once we changed the XML
export feature to use a custom serializer class instead of a JAXP Transformer for serialization
(see JCR-1952).

The current workaround is to explicitly force a Transformer to be loaded, but we really should
fix the cause of this issue for example by replacing the XMLReader instance with a SAXParser.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message