Skip to content

Enable XML, and DataEntry should allow setting XML attributes #52

@A248

Description

@A248
  • XML is the only backend format I'm aware of that distinguishes between elements and attributes. We can support setting attributes by adding a flag on DataEntry, along with an annotation @Attribute
  • Investigate how to use StAX API with Woodstox.
  • Add an XML backend.
    • Non-string keys have to be rejected, I believe.
    • Lists can be implemented in XML files the same way they are in javadoc, by using <li> tags under the section.

As a reminder, Backend implementations should throw DeveloperMistakeException if the format does not support the data structure written to it. This means that attempting to ram a list or a map into an XML attribute will be rejected when the configuration is written. See javadoc of Backend#write

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions