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

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Version 1.0.4
    • Version 1, Version 2
    • XmlObject
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: