You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2010/05/21 22:54:18 UTC

[jira] Closed: (INFRA-2674) SAX Parsing JRA RSS feeds Fails in Confluence

     [ https://issues.apache.org/jira/browse/INFRA-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins closed INFRA-2674.
--------------------------------

      Assignee: David Blevins  (was: Don Brown)
    Resolution: Invalid

This turned out to be due to the redirects now in place for http -> https

Everything with xml parsing is fine provided scripts point to the https url.

> 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: David Blevins
>            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.