FasterXML / FasterXML/StaxMate

Add support for defining "base" namespace for writers

Offen
#4 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
45
Forks
12
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

(note: moved from http://jira.codehaus.org/browse/STAXMATE-38)

---

(from a suggestion on mailing list)

It would be good to be able to define a baseline/default namespace that would be automatically used by all calls that only specify local name. This would basically just add state that defines what Namespace object to pass; currently null is always used (to mean namespace URI of ""). This would just be a short-hand notation to add convenience, not having to explicitly always pass namespace for all calls. It would apply to elements and attributes.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.