jakartaee / jakartaee/jaxb-api
@XmlRootElement should allow stylesheet declarations
Open
enhancement
Major
- Dominant language
- Java
- Stars
- 79
- Forks
- 48
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 2
Description
I'd love to specify a stylesheet for an @XmlRootElement without having to mess around with the
marshaller. For instance, it would be great to have something like:
@XmlStylesheet(type="text/css" href="stylesheet.css")
That would generate:
This is interesting in the JAX-RS world as it would give developers a way to support HTML requests of XML
data with little effort.
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[2.1.12]
Contributor guide
Assessment
This issue has not been assessed yet.