Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4041

ServiceMetaDataParser not handling whitespace correctly.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • EAP_EWP 5.1.1
    • EAP 5.0.1.CR2
    • JBoss Metadata
    • None
    • Release Notes
    • Workaround Exists
    • Hide

      Make sure there is no whitespace in <parameter> elements.

      Show
      Make sure there is no whitespace in <parameter> elements.
    • Low
    • Hide
      The ServiceMetaDataParser.parseValueFactoryParameter() method only considered the first child of the <parameter> element. If the <null/> element was surrounded by carriage returns, the node was treated as a text value and the parameter was not correctly substituted elsewhere. The following example failed, but now works properly.

      <parameter>
         <null/>
      </parameter>
      Show
      The ServiceMetaDataParser.parseValueFactoryParameter() method only considered the first child of the <parameter> element. If the <null/> element was surrounded by carriage returns, the node was treated as a text value and the parameter was not correctly substituted elsewhere. The following example failed, but now works properly. <parameter>    <null/> </parameter>
    • Documented as Resolved Issue

    Description

      The ServiceMetaDataParser.parseValueFactoryParameter() only considers the first child of the <parameter> element. Therefore if the <null/> element is used but surrounded by carriage returns e.g.

      <parameter>
      <null/>
      </parameter>

      instead of

      <parameter><null/></parameter>

      the node is treated as a text value and the parameter is not correctly substituted later on. E.g. The BindAddress of the NamingService.

      Attachments

        Activity

          People

            ajustin@redhat.com Ales Justin
            rhn-support-dstephan David Stephan
            Laura Bailey Laura Bailey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: