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

Upgrade to Xerces jboss-2.11.0.SP4 to address jaxb compliance issue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.DR10
    • 7.0.0.DR9
    • XML Frameworks
    • None

    Description

      Xerces update is needed to pass the JAXB TCK. (failing test: xml_schema/msData/datatypes/Facets/Schemas/jaxb/time_maxInclusive007_119.html#time_maxInclusive007_119)

      From e-mail thread:
      This is introduced by xerces 2.11.0.SP3 upgrade , and the previous work version is xerces 2.9.1. It looks xerces 2.11.0.SP3 can't correctly validate this schema file : time_maxInclusive007.xsd.

      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" >
       <xs:simpleType name="base">
            <xs:restriction base="xs:time">
                <xs:maxInclusive value="12:00:00-10:00"/>
            </xs:restriction>
       </xs:simpleType>
       <xs:simpleType name="derived">
            <xs:restriction base="base">
                <xs:maxInclusive value="12:00:00-14:00"/>
            </xs:restriction>
       </xs:simpleType>
       </xs:schema>
      

      jaxb tck expected this error be explained :
      [ERROR] cvc-maxInclusive-valid: Value '12:00:00-14:00' is not
      facet-valid with respect to maxInclusive '22:00:00Z' for type 'base'.
      line 8 of file:time_maxInclusive007.xsd

      Attachments

        Issue Links

          Activity

            People

              msimka@redhat.com Martin Simka
              msimka@redhat.com Martin Simka
              Martin Simka Martin Simka
              Martin Simka Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: