You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/02/22 17:01:01 UTC
[jira] Created: (JCR-1994) ExportSysViewTest fails with: System
property org.xml.sax.driver not specified
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.
[jira] Resolved: (JCR-1994) ExportSysViewTest fails with: System
property org.xml.sax.driver not specified
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved JCR-1994.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Fixed in revision 746747.
> 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.0, 1.1, 1.2.1, 1.3, 1.4, 1.5.0
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 1.6.0
>
>
> 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.