jakartaee / jakartaee/jaxb-api

@XmlRootElement should allow stylesheet declarations

Open
#254 5 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.