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

Better support for default/fixed elements and attributes at runtime

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • TBD
    • XmlObject
    • 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

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

            Dates

              Created:
              Updated: