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

[GSS](8.0.z) REM3-417 - Typo in jboss-remoting_5_2.xsd

XMLWordPrintable

    • False
    • None
    • False
    • Hide

      It can probably safely be ignored for standalone ejb client applications. It seems schema validation with jboss-remoting_5_2.xsd is not run in wildfly-config.xml parser.

      Show
      It can probably safely be ignored for standalone ejb client applications. It seems schema validation with jboss-remoting_5_2.xsd is not run in wildfly-config.xml parser.

      According to org.jboss.remoting3.RemotingXmlParser L196, jboss-remoting_5_2.xsd should be the following:

      $ git diff
      diff --git a/src/main/resources/schema/jboss-remoting_5_2.xsd b/src/main/resources/schema/jboss-remoting_5_2.xsd
      index 390b2d26..9bdbe80c 100644
      --- a/src/main/resources/schema/jboss-remoting_5_2.xsd
      +++ b/src/main/resources/schema/jboss-remoting_5_2.xsd
      @@ -31,7 +31,7 @@
               <xs:all minOccurs="0" maxOccurs="1">
                   <xs:element name="providers" type="providers-type" minOccurs="0" maxOccurs="1"/>
                   <xs:element name="connections" type="connections-type" minOccurs="0" maxOccurs="1"/>
      -            <xs:element name="options" type="connections-type" minOccurs="0" maxOccurs="1"/>
      +            <xs:element name="options" type="options-type" minOccurs="0" maxOccurs="1"/>
               </xs:all>
               <xs:attribute name="name" use="optional" type="xs:string"/>
               <xs:attribute name="read-timeout" use="optional" type="xs:nonNegativeInteger"/>
      @@ -70,7 +70,7 @@
       
           <xs:complexType name="options-type">
               <xs:choice minOccurs="0" maxOccurs="unbounded">
      -            <xs:element name="connection" type="option-type"/>
      +            <xs:element name="option" type="option-type"/>
               </xs:choice>
           </xs:complexType> 

              parsharm Parul Sharma
              rhn-support-nagetsum Norito Agetsuma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: