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.