Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-41

StAXSource not accepted by validator in JBoss EAP 6.1

    XMLWordPrintable

Details

    • Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial, Compatibility/Configuration
    • Medium
    • Closing, not sure if it is relevant anymore, or else speak up.

    Description

      While validating xml against xsd with StAXSource,
      validator.validate(new StAXSource(reader));

      getting below exception:
      java.lang.IllegalArgumentException: Source parameter of type
      javax.xml.transform.stax.StAXSource' is not accepted by this validator.
      at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source)

      Add support StAXSource in JBoss while validating XML against XSD schema. Instead of adding external xerces 2.11.0 jar as dependency to support StAXSource.

      http://stackoverflow.com/q/20493359/1213738

      Attachments

        Activity

          People

            jgreene@redhat.com Jason Greene
            chandrasekhar4u chandrasekhar k (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 week, 1 day, 4 hours
                1w 1d 4h
                Remaining:
                Remaining Estimate - 1 week, 1 day, 4 hours
                1w 1d 4h
                Logged:
                Time Spent - Not Specified
                Not Specified