-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Home page broken on Safari: "There was a problem generating 990 ." #2
Comments
I don't know XML or XSLT, but the problem appears to be my Safari's XSL support. The program fails at when I made a small repro of this bug, and found that once such unsupported XSL tag in Safari seems to be
I'm not sure if its worth fixing this bug, since this project already uses XSLT files from the IRS. It might be worth looking into ProPublica's solution. |
Thanks for the detailed research on this. I've confirmed this still doesn't work on the most recent Safari either (version 15.5 on MacOS v12.4). Some naive searching says it may be due to a WebKit bug. This was originally created in the context of a Google Chrome issue back in 2009, though the transformations work fine in Chrome now. In that Chromium thread there's a workaround proposed to request the XML of each A better way of doing all of this is what ProPublica is probably doing -- running the transformations server-side. That's where I initially started with this project when I was building it as a proof-of-concept. But being able to run the transformations client-side gave me a lot more freedom to publish this without needing to indefinitely host and maintain the infrastructure to run the transformations. |
Steps to Reproduce (Safari):
Or just visit https://betson.github.io/irs-efile-viewer/transform.html?f=https%3A%2F%2Fs3.amazonaws.com%2Firs-form-990%2F201541349349307794_public.xml.
Result:
The new tab closes. "There was a problem generating 990 ." is displayed in red.
The console reports:
Environment
This happens on my Safari 12.1.1 (14607.2.6.1.1), macOS 10.14.5.
It works perfectly fine on my Firefox 68 on the same machine.
Also, the ProPublica Nonprofit Explorer, which uses an "e-file viewer adapted" from this project, works fine on my Safari.
The text was updated successfully, but these errors were encountered: