Explorar o código

[ZF-11406] DOCUMENTATION

- Fix typo value default described not equal of the API.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@24438 44c647ce-9c0f-0410-b52a-842ac1e357ba
ramon %!s(int64=14) %!d(string=hai) anos
pai
achega
6903a4a2cf

+ 2 - 2
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-ContextSwitch.xml

@@ -103,7 +103,7 @@ class NewsController extends Zend_Controller_Action
     <itemizedlist>
         <listitem>
             <para>
-                Set the 'Content-Type' response header to '<filename>text/xml</filename>'.
+                Set the 'Content-Type' response header to '<filename>application/xml</filename>'.
             </para>
         </listitem>
 
@@ -187,7 +187,7 @@ $this->_helper->contextSwitch()->setAutoJsonSerialization(false);
             <listitem>
                 <para>
                     <emphasis><acronym>XML</acronym></emphasis>. The <acronym>XML</acronym> context
-                    sets the 'Content-Type' response header to '<filename>text/xml</filename>', and
+                    sets the 'Content-Type' response header to '<filename>application/xml</filename>', and
                     the view script suffix to '<filename>xml.phtml</filename>'. You will need to
                     create a new view script for the context.
                 </para>