Stanimir Stamenkov
Stanimir Stamenkov
I've initially opened eclipse-ee4j/jersey#4557 but it was suggested I put this up for discussion here. Using `@Path` configuration as following: ```java @Path("/rest") public class FooResource { @GET @Path("/foo") @Produces(MediaType.TEXT_PLAIN) public...
_(Follow-up to #116 and #119.)_ To adapt for hi-dpi (different resolution) screens the standard Windows cursors provide multiple resolutions for each cursor: 32×32, 48×48, 64×64, 96×96, and 128×128, packaged inside...
This is a suggestion for implementing universal SVG stream detection using a SAX parser that (setup will most likely be used for the final parsing, and): - Would handle any...
_Use case:_ Allow reading an SVG source once, and tweaking its content in memory like changing viewBox, colors, and styles to produce multiple image variants in succession. _Similar to:_ [DynamicSvgOffscreen](https://cwiki.apache.org/confluence/display/XMLGRAPHICSBATIK/DynamicSvgOffscreen)...
See [BATIK-1361] for more background but I've traced the problem down to this condition: https://github.com/apache/xmlgraphics-batik/blob/3c83de345f21cae4f4a64dfe6244483f87885808/batik-svg-dom/src/main/java/org/apache/batik/dom/svg/AbstractSVGTransformList.java#L286-L288 `rotate(angle)` uncoditionally sets a rotation with `cx=0, cy=0` origin/anchor/center: https://github.com/apache/xmlgraphics-batik/blob/3c83de345f21cae4f4a64dfe6244483f87885808/batik-svg-dom/src/main/java/org/apache/batik/dom/svg/AbstractSVGTransformList.java#L328-L330 The `matrix.getE() == 0.0f` condition...
Suggested fix for [BATIK-1318]. In 2014 the `SAXSVGDocumentFactory` class along with the `dtdids.properties` resource have been moved from `org.apache.batik.dom.svg` to `org.apache.batik.anim.dom` package: - 412c7bb1ede09d81e9a2125542439a762ba1c501 removed cyclic dependencies reported in [BATIK-1098]...
Should sufficiently solve #63: - https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme - https://w3c.github.io/csswg-drafts/css-color-adjust/#color-scheme-prop > The ‘color-scheme’ property allows an element to indicate which color schemes it is designed to be rendered with. These values are...
Assertions using `extracting(Function... extractors)` over an actual `null` object/reference fail with `NullPointerException`: ``` java.lang.NullPointerException at org.assertj.core.api.AbstractObjectAssert.lambda$extractingForProxy$0(AbstractObjectAssert.java:926) at java.base/... at org.assertj.core.api.AbstractObjectAssert.extractingForProxy(AbstractObjectAssert.java:927) at org.assertj.core.api.AbstractObjectAssert.extracting(AbstractObjectAssert.java:917) ``` * assertj core version: 3.25.3 * java...
Should solve #38 (to some extent). The current revision is pretty much a draft – doesn't remove the `cc.xml` handling code, for example. Solution based on: - https://stackoverflow.com/a/34851837/4166251
The Woodstox `XMLEventFactory` implementation produces `XMLEvent`s with a `null` location, while `XMLEvent.location` should never be `null`. [**XMLEvent.getLocation()**](https://docs.oracle.com/en/java/javase/21/docs/api/java.xml/javax/xml/stream/events/XMLEvent.html#getLocation%28%29): > Return the location of this event. The Location returned from this method...