www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Blevins (JIRA)" <j...@apache.org>
Subject [jira] Created: (INFRA-2674) SAX Parsing JRA RSS feeds Fails in Confluence
Date Sat, 01 May 2010 00:28:55 GMT
SAX Parsing JRA RSS feeds Fails in Confluence
---------------------------------------------

                 Key: INFRA-2674
                 URL: https://issues.apache.org/jira/browse/INFRA-2674
             Project: Infrastructure
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Confluence
            Reporter: David Blevins
            Assignee: Don Brown
            Priority: Critical


Maybe I should have filed this in either the Confluence or JIRA JIRAs, but if we can get this
working again in the cwiki install, that's good enough for me.  Since the upgrade, SAX parsing
RSS feeds from JIRA no longer works.  Not sure what's up with Xerces, but it doesn't like
JIRA's xml.

Small sample that replicates it:

import org.xml.sax.helpers.DefaultHandler;
import javax.xml.parsers.SAXParserFactory;
import javax.xml.parsers.SAXParser;
import java.io.InputStream;
import java.net.URL;

public class UnhappyXerces {

    public static void main(String[] args) throws Exception {
        SAXParserFactory saxParserFactory = org.apache.xerces.jaxp.SAXParserFactoryImpl.newInstance();
        System.out.println(saxParserFactory);
        SAXParser saxParser = saxParserFactory.newSAXParser();

        InputStream in = new URL("http://issues.apache.org/jira/si/jira.issueviews:issue-xml/OPENEJB-114/OPENEJB-114.xml").openStream();
        saxParser.parse(in, new DefaultHandler());
    }
}

Not sure what the best way is to resolve this.  Do we need xerces?  What version were we using
in the previous install on cwiki and can we downgrade to it?

Currently breaks the Swizzle jira macro used in OpenEJB, OpenJPA, and Geronimo.


-- 
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