Skip to content
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

Investigate replacing Batik CSS #293

Open
spassarop opened this issue Jan 29, 2023 · 1 comment
Open

Investigate replacing Batik CSS #293

spassarop opened this issue Jan 29, 2023 · 1 comment

Comments

@spassarop
Copy link
Collaborator

Investigate replacing the CSS parser with something newer, more transparent and more open. Currently there are issues that result in wontfix caused by Batik doing things internally we can't see/change/affect.

This is useful to link/reference all issues related to Batik being a dependency.

@carlosame
Copy link

Switching to an alternative SAC parser should be trivial, and a few years ago I made a couple of SAC benchmarks which may be of interest here:

https://css4j.github.io/sac-mark.html

There is also the possibility of migrating to the newer NSAC api, which has explicit support for the latest CSS specs, but that would be a bit more work:

https://css4j.github.io/api/latest/io.sf.carte.css4j/io/sf/carte/doc/style/css/parser/package-summary.html

and please note that css4j is not published to Maven Central so you'd have to add a repository section to your POM file, pointing to the Maven repo at https://css4j.github.io/maven/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants