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

in XmlOptions class, Javadoc for setValidateOnSet() and setDocumentType() should document that these options are also used by the XmlObject.Factory.newInstance() methods

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Version 1.0.4
    • Fix Version/s: Version 1, Version 2
    • Component/s: XmlObject
    • Labels:
      None
    • Environment:
      n/a

      Description

      I wanted to see which options were recognized by the XmlObject.Factory.newInstance() methods, but it did not appear to be documented anywhere in the Javadocs. So I dug down into the source and it looks like the only two options that newInstance() recognizes are DOCUMENT_TYPE and VALIDATE_ON_SET (see org.apache.xmlbeans.impl.store.Root's constructor). It would be useful to document this in XmlOptions' Javadocs.

        Attachments

          Activity

            People

            • Assignee:
              radup Radu Preotiuc
              Reporter:
              ispringer Ian P. Springer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: