|
@@ -8,14 +8,20 @@
|
|
|
<property name="id" type="string" groups="comments,post">
|
|
|
<xml-element cdata="false"/>
|
|
|
</property>
|
|
|
- <property name="title" type="string" groups="comments,post" xml-namespace="http://purl.org/dc/elements/1.1/"/>
|
|
|
+ <property name="title" type="string" groups="comments,post">
|
|
|
+ <xml-element namespace="http://purl.org/dc/elements/1.1/"/>
|
|
|
+ </property>
|
|
|
<property name="createdAt" xml-attribute="true" type="DateTime"/>
|
|
|
<property name="published" type="boolean" serialized-name="is_published" xml-attribute="true" groups="post" />
|
|
|
- <property name="etag" type="string" xml-attribute="true" xml-namespace="http://schemas.google.com/g/2005" groups="post" />
|
|
|
+ <property name="etag" type="string" xml-attribute="true" groups="post">
|
|
|
+ <xml-element namespace="http://schemas.google.com/g/2005"/>
|
|
|
+ </property>
|
|
|
<property name="comments" groups="comments">
|
|
|
<type><![CDATA[ArrayCollection<JMS\Serializer\Tests\Fixtures\Comment>]]></type>
|
|
|
<xml-list inline="true" entry-name="comment" />
|
|
|
</property>
|
|
|
- <property name="author" groups="post" type="JMS\Serializer\Tests\Fixtures\Author" xml-namespace="http://www.w3.org/2005/Atom"/>
|
|
|
+ <property name="author" groups="post" type="JMS\Serializer\Tests\Fixtures\Author">
|
|
|
+ <xml-element namespace="http://www.w3.org/2005/Atom"/>
|
|
|
+ </property>
|
|
|
</class>
|
|
|
</serializer>
|