jaxp
  1. jaxp
  2. JAXP-43

Exception while creating Schema object as it doesn't take care of inscope namespaces.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      43

      Description

      Schema object is created with DOMSource(from a fragment), but it doesn't
      preserve inscope namespaces and throws an exception. Since the DOMSource is a
      valid one, this should work. Adding sample test case that exhibits this behaviour.

        Activity

        Hide
        jitu added a comment -

        Created an attachment (id=11)
        sample data file

        Show
        jitu added a comment - Created an attachment (id=11) sample data file
        Hide
        jitu added a comment -

        Created an attachment (id=12)
        test case

        Show
        jitu added a comment - Created an attachment (id=12) test case
        Hide
        Santiago Pericas-Geertsen added a comment -

        A patch has been committed for this issue. The namespace support created by schema loader is now
        initialized with the context of the node's ancestors. This allows a schema embedded in an another
        document (such as a WSDL) to be properly loaded for validation.

        Show
        Santiago Pericas-Geertsen added a comment - A patch has been committed for this issue. The namespace support created by schema loader is now initialized with the context of the node's ancestors. This allows a schema embedded in an another document (such as a WSDL) to be properly loaded for validation.

          People

          • Assignee:
            jaxp-issues
            Reporter:
            jitu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: