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

    • Affects:
      Release Notes
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

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

      Show
      Make sure there is no whitespace in <parameter> elements.
    • Estimated Difficulty:
      Low
    • Release Notes Text:
      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>
    • Release Notes Docs Status:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                alesj Ales Justin
                Reporter:
                dstephan David Stephan
                Writer:
                Laura Bailey
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: