Using data pipelining and/or templates? Make sure to add namespace to script tags...

Version 1

    If you are using data pipelining or OpenSocial templates there is an important change that you need to be aware of in Jive. If you are using the data pipelining or templating features, there is a change that is required. Specifically, you'll need to insure that you have the proper XML namespace in your application's definition file. This is a REQUIRED change. Failure to include this in your application will result in an imcompatibility with versions of Jive starting at 5.0.3 and forward. Adding this to your application will have no affect in versions of Jive prior to 5.0.3.

     

    Example:

     

    In versions of Jive prior to 5.0.2, you could specify the inclusion of pipelined data as follows:

    <html xmlns:os="http://ns.opensocial.org/2008/markup">

    <head>

    <script type="text/os-data">

       <os:PeopleRequest key="Viewer" userId="@viewer" groupId="@self"/>

    </script>

     

    The proper way, which will be enforced in Jive 5.0.3 and forward, is to specify the XML namespace on the script tag.

    <html>

    <head>

       <script xmlns:os="http://ns.opensocial.org/2008/markup" type="text/os-data">

         <os:PeopleRequest key="Viewer" userId="@viewer" groupId="@self"/>

       </script>