You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org> on 2005/05/02 23:45:07 UTC

[jira] Resolved: (XMLBEANS-118) in XmlOptions class, Javadoc for setValidateOnSet() and setDocumentType() should document that these options are also used by the XmlObject.Factory.newInstance() methods

     [ http://issues.apache.org/jira/browse/XMLBEANS-118?page=all ]
     
Radu Preotiuc-Pietro resolved XMLBEANS-118:
-------------------------------------------

     Resolution: Fixed
    Fix Version: Version 1
                 Version 2

SVN revisions 165700, 165701, let me know what you think.


> in XmlOptions class, Javadoc for setValidateOnSet() and setDocumentType() should document that these options are also used by the XmlObject.Factory.newInstance() methods
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: XMLBEANS-118
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-118
>      Project: XMLBeans
>         Type: Improvement
>   Components: XmlObject
>     Versions: Version 1.0.4
>  Environment: n/a
>     Reporter: Ian P. Springer
>     Assignee: Radu Preotiuc-Pietro
>     Priority: Minor
>      Fix For: Version 1, Version 2

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org