Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4756594

schemaSource property must also accept []s of the allowable types, as value.

XMLWordPrintable

    • 1.1
    • generic
    • generic

        schemaSource property must also support String[], InputStream[], InputSource[] or File[] as its value. Thus, schemaSource property can have the following possible types for its value:
        1. java.lang.String
        2. java.io.InputStream
        3. org.xml.sax.InputSource
        4. java.io.File
        5. java.lang.Object[],
           java.lang.String[],
           java.io.InputStream[],
           org.xml.sax.InputSource[],
           java.io.File[]

        Presently, if used an array of any other allowed type than java.lang.Object for the schemaSource property, the implementation throws an exception, possibly because the spec. is not very clear on this. Now, as the issue is discussed and resolved on jaxp-tech, this should be fixed in the implementation.

        -Rahul Srivastava.

              gsharmasunw Gopal Sharma (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: