support inlined message for 0.8.1
---------------------------------

                 Key: SHINDIG-724
                 URL: https://issues.apache.org/jira/browse/SHINDIG-724
             Project: Shindig
          Issue Type: Bug
          Components: Gadget Rendering Server (PHP)
            Reporter: Pan Jie
            Priority: Minor
         Attachments: 20081202.patch

There are 2 bugs for inlined message:
1. Inlined messages don't need <messagebundle> in <Locale>. (see xsd file below)
2. Inlined messages don't work when retrieving message bundle.

http://code.google.com/p/opensocial-resources/source/browse/spec/0.8/gadgets/gadgets-extended.xsd
              <xs:element name="Locale">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="msg" minOccurs="0" maxOccurs="unbounded">
                      <xs:complexType>
                        <xs:simpleContent>
                          <xs:extension base="xs:string">
                            <xs:attribute name="name" type="xs:string" 
use="required"/>
                            <xs:attribute name="desc" type="xs:string" 
use="optional"/>
                          </xs:extension>
                        </xs:simpleContent>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute name="lang" type="xs:string" use="optional"/>
                  <xs:attribute name="country" type="xs:string" use="optional"/>
                  <xs:attribute name="messages" type="xs:string" 
use="optional"/>
                  <xs:attribute name="language_direction">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:enumeration value="ltr"/>
                        <xs:enumeration value="rtl"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:attribute>
                </xs:complexType>
              </xs:element>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to