Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-164

Better support for default/fixed elements and attributes at runtime

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: TBD
    • Component/s: XmlObject
    • Labels:
      None

      Description

      The issue of why doesn't XmlBeans automatically insert the value for default elements/attributes when doing .newInstance() has come up several time. While I think that it's the correct thing to do, I also acknowledge that people seem to want this behavior as an option, so I am thinking we should add something along the lines of having a method that will fill up a given XmlObject's fixed and default fields.

        Attachments

          Activity

            People

            • Assignee:
              radup Radu Preotiuc
              Reporter:
              radup Radu Preotiuc
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: