Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[ZF-12046] Update Amazon API version from 2005-10-05 to 2011-08-01 #1176

Merged
merged 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 38 additions and 38 deletions.
  1. +3 −3 documentation/manual/de/module_specs/Zend_Service_Amazon.xml
  2. +3 −3 documentation/manual/en/module_specs/Zend_Service_Amazon.xml
  3. +3 −3 documentation/manual/fr/module_specs/Zend_Service_Amazon.xml
  4. +3 −3 documentation/manual/ja/module_specs/Zend_Service_Amazon.xml
  5. +3 −3 documentation/manual/nl/module_specs/Zend_Service_Amazon.xml
  6. +3 −3 documentation/manual/pl/module_specs/Zend_Service_Amazon.xml
  7. +1 −1  library/Zend/Service/Amazon/Accessories.php
  8. +5 −5 library/Zend/Service/Amazon/Amazon.php
  9. +1 −1  library/Zend/Service/Amazon/CustomerReview.php
  10. +1 −1  library/Zend/Service/Amazon/EditorialReview.php
  11. +1 −1  library/Zend/Service/Amazon/Image.php
  12. +1 −1  library/Zend/Service/Amazon/Item.php
  13. +1 −1  library/Zend/Service/Amazon/ListmaniaList.php
  14. +1 −1  library/Zend/Service/Amazon/Offer.php
  15. +1 −1  library/Zend/Service/Amazon/OfferSet.php
  16. +1 −1  library/Zend/Service/Amazon/ResultSet.php
  17. +1 −1  library/Zend/Service/Amazon/SimilarProduct.php
  18. +1 −1  tests/Zend/Service/Amazon/_files/amazon-response-invalid.xml
  19. +1 −1  tests/Zend/Service/Amazon/_files/amazon-response-valid.xml
  20. +1 −1  tests/Zend/Service/Amazon/_files/mozart_result.xml
  21. +2 −2 tests/Zend/Service/Amazon/_files/offers_with_names.xml
View
6 documentation/manual/de/module_specs/Zend_Service_Amazon.xml
@@ -139,7 +139,7 @@ $item = $amazon->itemLookup('B0000A432X');
<para>
Die <methodname>itemLookup()</methodname> Methode akzeptiert auch einen optionalen
zweiten Parameter für die Handhabung der Suchoptionen. Für komplette Details, inklusive
- einer Liste der möglichen Optionen sehen Sie bitte in die <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemLookupOperation">relevante
+ einer Liste der möglichen Optionen sehen Sie bitte in die <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemLookupOperation">relevante
Amazon Dokumentation</link>.
</para>
@@ -201,7 +201,7 @@ foreach ($results as $result) {
<para>
Die <methodname>itemSearch()</methodname> Methode akzeptiert einen einzelnen Parameter
als Array für die Handhabung der Suchoptionen. Für komplette Details, inklusive eine
- Liste der möglichen Optionen sehen Sie bitte in die <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">relevante
+ Liste der möglichen Optionen sehen Sie bitte in die <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">relevante
Amazon Dokumentation</link>
</para>
@@ -259,7 +259,7 @@ foreach ($results as $result) {
<para>
Für weitere Informationen über die möglichen Optionen, sehen Sie bitte in die
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">relevante
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">relevante
Amazon Dokumentation</link>.
</para>
</example>
View
6 documentation/manual/en/module_specs/Zend_Service_Amazon.xml
@@ -138,7 +138,7 @@ $item = $amazon->itemLookup('B0000A432X');
<para>
The <methodname>itemLookup()</methodname> method also accepts an optional second
parameter for handling search options. For full details, including a list of available
- options, please see the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemLookupOperation">relevant
+ options, please see the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemLookupOperation">relevant
Amazon documentation</link>.
</para>
@@ -198,7 +198,7 @@ foreach ($results as $result) {
<para>
The <methodname>itemSearch()</methodname> method accepts a single array parameter for
handling search options. For full details, including a list of available options, please
- see the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">relevant
+ see the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">relevant
Amazon documentation</link>
</para>
@@ -253,7 +253,7 @@ foreach ($results as $result) {
</para>
<para>
- For more information on the available options, please refer to the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">relevant
+ For more information on the available options, please refer to the <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">relevant
Amazon documentation</link>.
</para>
</example>
View
6 documentation/manual/fr/module_specs/Zend_Service_Amazon.xml
@@ -150,7 +150,7 @@ $item = $amazon->itemLookup('B0000A432X');
<para>
La méthode <methodname>itemLookup()</methodname> accepte aussi un second paramètre optionnel
pour gérer les options de recherche. Pour les détails complets et une liste des options
- disponibles, visitez <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemLookupOperation">
+ disponibles, visitez <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemLookupOperation">
la documentation Amazon correspondante. </link>.
</para>
@@ -213,7 +213,7 @@ foreach ($results as $result) {
<para>
La méthode <methodname>itemSearch()</methodname> accepte un seul tableau en paramètre pour
gérer les options de recherche. Pour plus de détails et une liste des options
- disponibles, visitez <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">
+ disponibles, visitez <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">
la documentation Amazon correspondante </link>
</para>
@@ -272,7 +272,7 @@ foreach ($results as $result) {
<para>
Pour plus d'information sur les options disponibles, vous pouvez vous
- référer à la <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">documentation
+ référer à la <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">documentation
spécifique</link>.
</para>
</example>
View
6 documentation/manual/ja/module_specs/Zend_Service_Amazon.xml
@@ -131,7 +131,7 @@ $item = $amazon->itemLookup('B0000A432X');
<para>
<methodname>itemLookup()</methodname> メソッドにオプションの第 2 パラメータを渡すことで、
検索オプションを指定できます。使用可能なオプションを含む詳細は、
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemLookupOperation">関連する Amazon の文書</link>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemLookupOperation">関連する Amazon の文書</link>
を参照ください。
</para>
<note><info><title>画像の情報</title></info>
@@ -182,7 +182,7 @@ foreach ($results as $result) {
<para>
<methodname>itemSearch()</methodname> は配列のパラメータをひとつ受け取り、
このパラメータで検索オプションを指定します。使用可能なオプションを含む詳細は、
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">関連する Amazon の文書</link>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">関連する Amazon の文書</link>
を参照ください。
</para>
<tip>
@@ -228,7 +228,7 @@ foreach ($results as $result) {
</para>
<para>
使用可能なオプションについての詳細な情報は、
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">関連する Amazon の文書</link>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">関連する Amazon の文書</link>
を参照ください。
</para>
</example>
View
6 documentation/manual/nl/module_specs/Zend_Service_Amazon.xml
@@ -120,7 +120,7 @@ $item = $amazon->itemLookup('B0000A432X');
<para>
De <code>itemLookup()</code> methode aanvaardt ook een optionele tweede parameter om zoekopties af te handelen.
Voor alle details, inclusief een lijst van beschikbare opties, zie de
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemLookupOperation">relevante Amazon documentatie</link>.
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemLookupOperation">relevante Amazon documentatie</link>.
<note>
<para>
Om informatie over de beelden te verkrijgen voor je zoekresultaten, moet je de optie <code>ResponseGroup</code> tot <code>Medium</code> of <code>Large</code> zetten.
@@ -148,7 +148,7 @@ foreach($response as $r) {
<para>
De <code>itemSearch()</code> methode aanvaardt een enkele array array parameter om zoekopties af te handelen.
Voor alle details, inclusief een lijst van beschikbare opties, zie de
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">relevante Amazon documentatie</link>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">relevante Amazon documentatie</link>
</para>
<tip>
<para>
@@ -192,7 +192,7 @@ foreach ($results as $result) {
</para>
<para>
Voor meer informatie over de beschikbare opties verwijzen we je graag door naar de
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">relevante Amazon documentatie</link>.
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">relevante Amazon documentatie</link>.
</para>
</example>
</section>
View
6 documentation/manual/pl/module_specs/Zend_Service_Amazon.xml
@@ -129,7 +129,7 @@ $item = $amazon->itemLookup('B0000A432X');
Metoda <code>itemLookup()</code> także akceptuje opcjonalny drugi parametr
do obsługi opcji wyszukiwania. Aby poznać pełne informacje, włączając
w to listę dostępnych opcji odwiedź
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemLookupOperation">dokumentację Amazon</link>.
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemLookupOperation">dokumentację Amazon</link>.
</para>
<note><info><title>Informacje o zdjęciach</title></info>
@@ -182,7 +182,7 @@ foreach ($results as $result) {
Metoda <code>itemSearch()</code> akceptuje jeden parametr w postaci
tablicy do obsługi opcji wyszukiwania. Aby poznać wszystkie
szczegóły włączając w to listę dostępnych opcji, proszę zobacz
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">dokumentację Amazon</link>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/103-9285448-4703844?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">dokumentację Amazon</link>
</para>
<tip>
<para>
@@ -231,7 +231,7 @@ foreach ($results as $result) {
</para>
<para>
Aby uzyskać więcej informacji o dostępnych opcjach, proszę odwiedź
- <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2005-10-05&amp;p=ApiReference/ItemSearchOperation">dokumentację Amazon</link>.
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&amp;v=2011-08-01&amp;p=ApiReference/ItemSearchOperation">dokumentację Amazon</link>.
</para>
</example>
</section>
View
2  library/Zend/Service/Amazon/Accessories.php
@@ -50,7 +50,7 @@ class Accessories
public function __construct(\DOMElement $dom)
{
$xpath = new \DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('ASIN', 'Title') as $el) {
$this->$el = (string) $xpath->query("./az:$el/text()", $dom)->item(0)->data;
}
View
10 library/Zend/Service/Amazon/Amazon.php
@@ -106,7 +106,7 @@ public function __construct($appId, $countryCode = 'US', $secretKey = null)
* @param array $options Options to use for the Search Query
* @throws \Zend\Service\Amazon\Exception
* @return Zend_Service_Amazon_ResultSet
- * @see http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&v=2005-10-05&p=ApiReference/ItemSearchOperation
+ * @see http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&v=2011-08-01&p=ApiReference/ItemSearchOperation
*/
public function itemSearch(array $options)
{
@@ -136,7 +136,7 @@ public function itemSearch(array $options)
*
* @param string $asin Amazon ASIN ID
* @param array $options Query Options
- * @see http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&v=2005-10-05&p=ApiReference/ItemLookupOperation
+ * @see http://www.amazon.com/gp/aws/sdk/main.html/102-9041115-9057709?s=AWSEcommerceService&v=2011-08-01&p=ApiReference/ItemLookupOperation
* @throws Zend\Service\Amazon\Exception
* @return Zend_Service_Amazon_Item|Zend_Service_Amazon_ResultSet
*/
@@ -161,7 +161,7 @@ public function itemLookup($asin, array $options = array())
$dom->loadXML($response->getBody());
self::_checkErrors($dom);
$xpath = new \DOMXPath($dom);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$items = $xpath->query('//az:Items/az:Item');
if ($items->length == 1) {
@@ -211,7 +211,7 @@ protected function _prepareOptions($query, array $options, array $defaultOptions
$options['AWSAccessKeyId'] = $this->appId;
$options['Service'] = 'AWSECommerceService';
$options['Operation'] = (string) $query;
- $options['Version'] = '2005-10-05';
+ $options['Version'] = '2011-08-01';
// de-canonicalize out sort key
if (isset($options['ResponseGroup'])) {
@@ -282,7 +282,7 @@ static public function buildRawSignature($baseUri, $options)
protected static function _checkErrors(\DOMDocument $dom)
{
$xpath = new \DOMXPath($dom);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
if ($xpath->query('//az:Error')->length >= 1) {
$code = $xpath->query('//az:Error/az:Code/text()')->item(0)->data;
View
2  library/Zend/Service/Amazon/CustomerReview.php
@@ -75,7 +75,7 @@ class CustomerReview
public function __construct(\DOMElement $dom)
{
$xpath = new \DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('Rating', 'HelpfulVotes', 'CustomerId', 'TotalVotes', 'Date', 'Summary', 'Content') as $el) {
$result = $xpath->query("./az:$el/text()", $dom);
if ($result->length == 1) {
View
2  library/Zend/Service/Amazon/EditorialReview.php
@@ -50,7 +50,7 @@ class EditorialReview
public function __construct(\DOMElement $dom)
{
$xpath = new \DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('Source', 'Content') as $el) {
$this->$el = (string) $xpath->query("./az:$el/text()", $dom)->item(0)->data;
}
View
2  library/Zend/Service/Amazon/Image.php
@@ -62,7 +62,7 @@ class Image
public function __construct(\DOMElement $dom)
{
$xpath = new \DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$this->Url = Uri\UriFactory::factory($xpath->query('./az:URL/text()', $dom)->item(0)->data);
$this->Height = (int) $xpath->query('./az:Height/text()', $dom)->item(0)->data;
View
2  library/Zend/Service/Amazon/Item.php
@@ -132,7 +132,7 @@ public function __construct($dom)
throw new Exception\InvalidArgumentException('Item passed to Amazon\Item must be instace of DOMElement');
}
$xpath = new \DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$this->ASIN = $xpath->query('./az:ASIN/text()', $dom)->item(0)->data;
$result = $xpath->query('./az:DetailPageURL/text()', $dom);
View
2  library/Zend/Service/Amazon/ListmaniaList.php
@@ -50,7 +50,7 @@ class ListmaniaList
public function __construct(\DOMElement $dom)
{
$xpath = new \DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('ListId', 'ListName') as $el) {
$this->$el = (string) $xpath->query("./az:$el/text()", $dom)->item(0)->data;
}
View
2  library/Zend/Service/Amazon/Offer.php
@@ -85,7 +85,7 @@ class Offer
public function __construct(\DOMElement $dom)
{
$xpath = new \DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$this->MerchantId = (string) $xpath->query('./az:Merchant/az:MerchantId/text()', $dom)->item(0)->data;
$name = $xpath->query('./az:Merchant/az:Name/text()', $dom);
if ($name->length == 1) {
View
2  library/Zend/Service/Amazon/OfferSet.php
@@ -86,7 +86,7 @@ class OfferSet
public function __construct(\DOMElement $dom)
{
$xpath = new \DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$offer = $xpath->query('./az:OfferSummary', $dom);
if ($offer->length == 1) {
View
2  library/Zend/Service/Amazon/ResultSet.php
@@ -73,7 +73,7 @@ public function __construct(\DOMDocument $dom)
{
$this->_dom = $dom;
$this->_xpath = new \DOMXPath($dom);
- $this->_xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $this->_xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
$this->_results = $this->_xpath->query('//az:Item');
}
View
2  library/Zend/Service/Amazon/SimilarProduct.php
@@ -50,7 +50,7 @@ class SimilarProduct
public function __construct(\DOMElement $dom)
{
$xpath = new \DOMXPath($dom->ownerDocument);
- $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2005-10-05');
+ $xpath->registerNamespace('az', 'http://webservices.amazon.com/AWSECommerceService/2011-08-01');
foreach (array('ASIN', 'Title') as $el) {
$text = $xpath->query("./az:$el/text()", $dom)->item(0);
if($text instanceof \DOMText) {
View
2  tests/Zend/Service/Amazon/_files/amazon-response-invalid.xml
@@ -1 +1 @@
-<?xml version="1.0" ?><ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2005-10-05"><OperationRequest><HTTPHeaders><Header Name="UserAgent" Value="Zend_Http_Client"></Header></HTTPHeaders><RequestId>ae1b57b9-ac1c-4408-87f2-942e72630361</RequestId><Arguments><Argument Name="Operation" Value="ItemSearch"></Argument><Argument Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Power" Value="isbn:0750640162"></Argument><Argument Name="AWSAccessKeyId" Value="API_KEY"></Argument><Argument Name="Timestamp" Value="2010-03-26T19:26:31Z"></Argument><Argument Name="Signature" Value="A0ThHMQTqYixyc6aDFO6bdbRUEXc77E/k8nEKgfqY70="></Argument><Argument Name="ResponseGroup" Value="Large,ItemAttributes,Images,EditorialReview,Request"></Argument><Argument Name="SearchIndex" Value="Books"></Argument><Argument Name="Version" Value="2005-10-05"></Argument></Arguments><RequestProcessingTime>0.0410670000000000</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemSearchRequest><Condition>New</Condition><DeliveryMethod>Ship</DeliveryMethod><MerchantId>Amazon</MerchantId><Power>isbn:0750640162</Power><ResponseGroup>Large</ResponseGroup><ResponseGroup>ItemAttributes</ResponseGroup><ResponseGroup>Images</ResponseGroup><ResponseGroup>EditorialReview</ResponseGroup><ResponseGroup>Request</ResponseGroup><SearchIndex>Books</SearchIndex></ItemSearchRequest></Request><TotalResults>1</TotalResults><TotalPages>1</TotalPages></Items></ItemSearchResponse>
+<?xml version="1.0" ?><ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header Name="UserAgent" Value="Zend_Http_Client"></Header></HTTPHeaders><RequestId>ae1b57b9-ac1c-4408-87f2-942e72630361</RequestId><Arguments><Argument Name="Operation" Value="ItemSearch"></Argument><Argument Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Power" Value="isbn:0750640162"></Argument><Argument Name="AWSAccessKeyId" Value="API_KEY"></Argument><Argument Name="Timestamp" Value="2010-03-26T19:26:31Z"></Argument><Argument Name="Signature" Value="A0ThHMQTqYixyc6aDFO6bdbRUEXc77E/k8nEKgfqY70="></Argument><Argument Name="ResponseGroup" Value="Large,ItemAttributes,Images,EditorialReview,Request"></Argument><Argument Name="SearchIndex" Value="Books"></Argument><Argument Name="Version" Value="2011-08-01"></Argument></Arguments><RequestProcessingTime>0.0410670000000000</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemSearchRequest><Condition>New</Condition><DeliveryMethod>Ship</DeliveryMethod><MerchantId>Amazon</MerchantId><Power>isbn:0750640162</Power><ResponseGroup>Large</ResponseGroup><ResponseGroup>ItemAttributes</ResponseGroup><ResponseGroup>Images</ResponseGroup><ResponseGroup>EditorialReview</ResponseGroup><ResponseGroup>Request</ResponseGroup><SearchIndex>Books</SearchIndex></ItemSearchRequest></Request><TotalResults>1</TotalResults><TotalPages>1</TotalPages></Items></ItemSearchResponse>
View
2  tests/Zend/Service/Amazon/_files/amazon-response-valid.xml
@@ -1 +1 @@
-<ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2005-10-05"><OperationRequest><HTTPHeaders><Header Name="UserAgent" Value="Zend_Http_Client"></Header></HTTPHeaders><RequestId>7c895353-04a0-4805-aaa2-ddda6ee78ae4</RequestId><Arguments><Argument Name="Operation" Value="ItemSearch"></Argument><Argument Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Power" Value="isbn:0754512673"></Argument><Argument Name="AWSAccessKeyId" Value="API_KEY"></Argument><Argument Name="Timestamp" Value="2010-03-26T19:28:18Z"></Argument><Argument Name="Signature" Value="H7xta+UgHRFquAEpDoOLQir7PDBOlqw0oHjzeFd1kOs="></Argument><Argument Name="ResponseGroup" Value="Large,ItemAttributes,Images,EditorialReview,Request"></Argument><Argument Name="SearchIndex" Value="Books"></Argument><Argument Name="Version" Value="2005-10-05"></Argument></Arguments><RequestProcessingTime>0.0550310000000000</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemSearchRequest><Condition>New</Condition><DeliveryMethod>Ship</DeliveryMethod><MerchantId>Amazon</MerchantId><Power>isbn:0754512673</Power><ResponseGroup>Large</ResponseGroup><ResponseGroup>ItemAttributes</ResponseGroup><ResponseGroup>Images</ResponseGroup><ResponseGroup>EditorialReview</ResponseGroup><ResponseGroup>Request</ResponseGroup><SearchIndex>Books</SearchIndex></ItemSearchRequest></Request><TotalResults>1</TotalResults><TotalPages>1</TotalPages><Item><ASIN>0754512673</ASIN><DetailPageURL>http://www.amazon.co.uk/Tolleys-Office-Health-Safety-Handbook/dp/0754512673%3FSubscriptionId%3D1K801728Y3PCE30ZMG02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0754512673</DetailPageURL><SalesRank>2408080</SalesRank><SmallImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL75_.jpg</URL><Height Units="pixels">75</Height><Width Units="pixels">49</Width></SmallImage><MediumImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL160_.jpg</URL><Height Units="pixels">160</Height><Width Units="pixels">104</Width></MediumImage><LargeImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL.jpg</URL><Height Units="pixels">475</Height><Width Units="pixels">309</Width></LargeImage><ImageSets><ImageSet Category="primary"><SwatchImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL30_.jpg</URL><Height Units="pixels">30</Height><Width Units="pixels">20</Width></SwatchImage><SmallImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL75_.jpg</URL><Height Units="pixels">75</Height><Width Units="pixels">49</Width></SmallImage><MediumImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL160_.jpg</URL><Height Units="pixels">160</Height><Width Units="pixels">104</Width></MediumImage><LargeImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL.jpg</URL><Height Units="pixels">475</Height><Width Units="pixels">309</Width></LargeImage></ImageSet></ImageSets><ItemAttributes><Author>Sue Cox</Author><Author>Bill Janes</Author><Author>Deborah Walker</Author><Author>David Wenham</Author><Binding>Paperback</Binding><DeweyDecimalNumber>344.410465</DeweyDecimalNumber><EAN>9780754512677</EAN><Edition>3rd Revised edition</Edition><ISBN>0754512673</ISBN><Label>Butterworths Tolley Ltd.</Label><Languages><Language><Name>English</Name><Type>Original Language</Type></Language><Language><Name>English</Name><Type>Unknown</Type></Language></Languages><ListPrice><Amount>7800</Amount><CurrencyCode>GBP</CurrencyCode><FormattedPrice>£78.00</FormattedPrice></ListPrice><Manufacturer>Butterworths Tolley Ltd.</Manufacturer><NumberOfPages>526</NumberOfPages><ProductGroup>Book</ProductGroup><PublicationDate>2002-12-01</PublicationDate><Publisher>Butterworths Tolley Ltd.</Publisher><Studio>Butterworths Tolley Ltd.</Studio><Title>Tolley's Office Health and Safety Handbook</Title></ItemAttributes><OfferSummary><LowestUsedPrice><Amount>3495</Amount><CurrencyCode>GBP</CurrencyCode><FormattedPrice>£34.95</FormattedPrice></LowestUsedPrice><TotalNew>0</TotalNew><TotalUsed>2</TotalUsed><TotalCollectible>0</TotalCollectible><TotalRefurbished>0</TotalRefurbished></OfferSummary><Offers><TotalOffers>0</TotalOffers><TotalOfferPages>0</TotalOfferPages></Offers><BrowseNodes><BrowseNode><BrowseNodeId>268170</BrowseNodeId><Name>Labour</Name><Ancestors><BrowseNode><BrowseNodeId>268153</BrowseNodeId><Name>Economics</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>275963</BrowseNodeId><Name>Industrial</Name><Ancestors><BrowseNode><BrowseNodeId>275948</BrowseNodeId><Name>Commercial, Financial, Industrial &amp; Taxation</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124681031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>275948</BrowseNodeId><Name>Commercial, Financial, Industrial &amp; Taxation</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>276018</BrowseNodeId><Name>Employment &amp; Labour</Name><Ancestors><BrowseNode><BrowseNodeId>276016</BrowseNodeId><Name>Social</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124691031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>276016</BrowseNodeId><Name>Social</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124680031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124679031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>268241</BrowseNodeId><Name>Health &amp; Safety</Name><Ancestors><BrowseNode><BrowseNodeId>659890</BrowseNodeId><Name>Reference &amp; Education</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124720031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>659890</BrowseNodeId><Name>Reference &amp; Education</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124671031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>922322</BrowseNodeId><Name>Health &amp; Safety</Name><Ancestors><BrowseNode><BrowseNodeId>922314</BrowseNodeId><Name>Production, Manufacturing &amp; Operational</Name><Ancestors><BrowseNode><BrowseNodeId>278115</BrowseNodeId><Name>Engineering &amp; Technology</Name><Ancestors><BrowseNode><BrowseNodeId>57</BrowseNodeId><Name>Science &amp; Nature</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>125282031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>922314</BrowseNodeId><Name>Production, Manufacturing &amp; Operational</Name><Ancestors><BrowseNode><BrowseNodeId>278115</BrowseNodeId><Name>Engineering &amp; Technology</Name><Ancestors><BrowseNode><BrowseNodeId>57</BrowseNodeId><Name>Science &amp; Nature</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>125259031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>278115</BrowseNodeId><Name>Engineering &amp; Technology</Name><Ancestors><BrowseNode><BrowseNodeId>57</BrowseNodeId><Name>Science &amp; Nature</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>125228031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>57</BrowseNodeId><Name>Science &amp; Nature</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>276509</BrowseNodeId><Name>Social Welfare &amp; Services</Name><Children><BrowseNode><BrowseNodeId>276519</BrowseNodeId><Name>Charities &amp; Voluntary Services</Name></BrowseNode><BrowseNode><BrowseNodeId>276511</BrowseNodeId><Name>Child Welfare</Name></BrowseNode><BrowseNode><BrowseNodeId>276512</BrowseNodeId><Name>Community Care</Name></BrowseNode><BrowseNode><BrowseNodeId>276520</BrowseNodeId><Name>Counselling</Name></BrowseNode><BrowseNode><BrowseNodeId>276510</BrowseNodeId><Name>Elderly Care</Name></BrowseNode><BrowseNode><BrowseNodeId>276513</BrowseNodeId><Name>Family Welfare</Name></BrowseNode><BrowseNode><BrowseNodeId>276515</BrowseNodeId><Name>Housing</Name></BrowseNode><BrowseNode><BrowseNodeId>276516</BrowseNodeId><Name>Welfare &amp; Benefit Systems</Name></BrowseNode><BrowseNode><BrowseNodeId>125462031</BrowseNodeId><Name>General AAS</Name></BrowseNode></Children><Ancestors><BrowseNode><BrowseNodeId>276482</BrowseNodeId><Name>Social Issues</Name><Ancestors><BrowseNode><BrowseNodeId>276411</BrowseNodeId><Name>Social Sciences</Name><Ancestors><BrowseNode><BrowseNodeId>60</BrowseNodeId><Name>Society, Politics &amp; Philosophy</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>400530011</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>400529011</BrowseNodeId><Name>Language (feature_browse-bin)</Name><Ancestors><BrowseNode><BrowseNodeId>365481011</BrowseNodeId><Name>Refinements</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>492564011</BrowseNodeId><Name>Paperback</Name><Ancestors><BrowseNode><BrowseNodeId>492562011</BrowseNodeId><Name>Format (binding_browse-bin)</Name><Ancestors><BrowseNode><BrowseNodeId>365481011</BrowseNodeId><Name>Refinements</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>182018031</BrowseNodeId><Name>Regular Size</Name><Ancestors><BrowseNode><BrowseNodeId>182016031</BrowseNodeId><Name>Font Size (format_browse-bin)</Name><Ancestors><BrowseNode><BrowseNodeId>365481011</BrowseNodeId><Name>Refinements</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></BrowseNodes></Item></Items></ItemSearchResponse>
+<ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01"><OperationRequest><HTTPHeaders><Header Name="UserAgent" Value="Zend_Http_Client"></Header></HTTPHeaders><RequestId>7c895353-04a0-4805-aaa2-ddda6ee78ae4</RequestId><Arguments><Argument Name="Operation" Value="ItemSearch"></Argument><Argument Name="Service" Value="AWSECommerceService"></Argument><Argument Name="Power" Value="isbn:0754512673"></Argument><Argument Name="AWSAccessKeyId" Value="API_KEY"></Argument><Argument Name="Timestamp" Value="2010-03-26T19:28:18Z"></Argument><Argument Name="Signature" Value="H7xta+UgHRFquAEpDoOLQir7PDBOlqw0oHjzeFd1kOs="></Argument><Argument Name="ResponseGroup" Value="Large,ItemAttributes,Images,EditorialReview,Request"></Argument><Argument Name="SearchIndex" Value="Books"></Argument><Argument Name="Version" Value="2011-08-01"></Argument></Arguments><RequestProcessingTime>0.0550310000000000</RequestProcessingTime></OperationRequest><Items><Request><IsValid>True</IsValid><ItemSearchRequest><Condition>New</Condition><DeliveryMethod>Ship</DeliveryMethod><MerchantId>Amazon</MerchantId><Power>isbn:0754512673</Power><ResponseGroup>Large</ResponseGroup><ResponseGroup>ItemAttributes</ResponseGroup><ResponseGroup>Images</ResponseGroup><ResponseGroup>EditorialReview</ResponseGroup><ResponseGroup>Request</ResponseGroup><SearchIndex>Books</SearchIndex></ItemSearchRequest></Request><TotalResults>1</TotalResults><TotalPages>1</TotalPages><Item><ASIN>0754512673</ASIN><DetailPageURL>http://www.amazon.co.uk/Tolleys-Office-Health-Safety-Handbook/dp/0754512673%3FSubscriptionId%3D1K801728Y3PCE30ZMG02%26tag%3Dws%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0754512673</DetailPageURL><SalesRank>2408080</SalesRank><SmallImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL75_.jpg</URL><Height Units="pixels">75</Height><Width Units="pixels">49</Width></SmallImage><MediumImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL160_.jpg</URL><Height Units="pixels">160</Height><Width Units="pixels">104</Width></MediumImage><LargeImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL.jpg</URL><Height Units="pixels">475</Height><Width Units="pixels">309</Width></LargeImage><ImageSets><ImageSet Category="primary"><SwatchImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL30_.jpg</URL><Height Units="pixels">30</Height><Width Units="pixels">20</Width></SwatchImage><SmallImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL75_.jpg</URL><Height Units="pixels">75</Height><Width Units="pixels">49</Width></SmallImage><MediumImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL._SL160_.jpg</URL><Height Units="pixels">160</Height><Width Units="pixels">104</Width></MediumImage><LargeImage><URL>http://ecx.images-amazon.com/images/I/41965ZC4WKL.jpg</URL><Height Units="pixels">475</Height><Width Units="pixels">309</Width></LargeImage></ImageSet></ImageSets><ItemAttributes><Author>Sue Cox</Author><Author>Bill Janes</Author><Author>Deborah Walker</Author><Author>David Wenham</Author><Binding>Paperback</Binding><DeweyDecimalNumber>344.410465</DeweyDecimalNumber><EAN>9780754512677</EAN><Edition>3rd Revised edition</Edition><ISBN>0754512673</ISBN><Label>Butterworths Tolley Ltd.</Label><Languages><Language><Name>English</Name><Type>Original Language</Type></Language><Language><Name>English</Name><Type>Unknown</Type></Language></Languages><ListPrice><Amount>7800</Amount><CurrencyCode>GBP</CurrencyCode><FormattedPrice>£78.00</FormattedPrice></ListPrice><Manufacturer>Butterworths Tolley Ltd.</Manufacturer><NumberOfPages>526</NumberOfPages><ProductGroup>Book</ProductGroup><PublicationDate>2002-12-01</PublicationDate><Publisher>Butterworths Tolley Ltd.</Publisher><Studio>Butterworths Tolley Ltd.</Studio><Title>Tolley's Office Health and Safety Handbook</Title></ItemAttributes><OfferSummary><LowestUsedPrice><Amount>3495</Amount><CurrencyCode>GBP</CurrencyCode><FormattedPrice>£34.95</FormattedPrice></LowestUsedPrice><TotalNew>0</TotalNew><TotalUsed>2</TotalUsed><TotalCollectible>0</TotalCollectible><TotalRefurbished>0</TotalRefurbished></OfferSummary><Offers><TotalOffers>0</TotalOffers><TotalOfferPages>0</TotalOfferPages></Offers><BrowseNodes><BrowseNode><BrowseNodeId>268170</BrowseNodeId><Name>Labour</Name><Ancestors><BrowseNode><BrowseNodeId>268153</BrowseNodeId><Name>Economics</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>275963</BrowseNodeId><Name>Industrial</Name><Ancestors><BrowseNode><BrowseNodeId>275948</BrowseNodeId><Name>Commercial, Financial, Industrial &amp; Taxation</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124681031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>275948</BrowseNodeId><Name>Commercial, Financial, Industrial &amp; Taxation</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>276018</BrowseNodeId><Name>Employment &amp; Labour</Name><Ancestors><BrowseNode><BrowseNodeId>276016</BrowseNodeId><Name>Social</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124691031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>276016</BrowseNodeId><Name>Social</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124680031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>275946</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124679031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>275945</BrowseNodeId><Name>Law</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>268241</BrowseNodeId><Name>Health &amp; Safety</Name><Ancestors><BrowseNode><BrowseNodeId>659890</BrowseNodeId><Name>Reference &amp; Education</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124720031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>659890</BrowseNodeId><Name>Reference &amp; Education</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>124671031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>68</BrowseNodeId><Name>Business, Finance &amp; Law</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>922322</BrowseNodeId><Name>Health &amp; Safety</Name><Ancestors><BrowseNode><BrowseNodeId>922314</BrowseNodeId><Name>Production, Manufacturing &amp; Operational</Name><Ancestors><BrowseNode><BrowseNodeId>278115</BrowseNodeId><Name>Engineering &amp; Technology</Name><Ancestors><BrowseNode><BrowseNodeId>57</BrowseNodeId><Name>Science &amp; Nature</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>125282031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>922314</BrowseNodeId><Name>Production, Manufacturing &amp; Operational</Name><Ancestors><BrowseNode><BrowseNodeId>278115</BrowseNodeId><Name>Engineering &amp; Technology</Name><Ancestors><BrowseNode><BrowseNodeId>57</BrowseNodeId><Name>Science &amp; Nature</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>125259031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>278115</BrowseNodeId><Name>Engineering &amp; Technology</Name><Ancestors><BrowseNode><BrowseNodeId>57</BrowseNodeId><Name>Science &amp; Nature</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>125228031</BrowseNodeId><Name>General AAS</Name><Ancestors><BrowseNode><BrowseNodeId>57</BrowseNodeId><Name>Science &amp; Nature</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>276509</BrowseNodeId><Name>Social Welfare &amp; Services</Name><Children><BrowseNode><BrowseNodeId>276519</BrowseNodeId><Name>Charities &amp; Voluntary Services</Name></BrowseNode><BrowseNode><BrowseNodeId>276511</BrowseNodeId><Name>Child Welfare</Name></BrowseNode><BrowseNode><BrowseNodeId>276512</BrowseNodeId><Name>Community Care</Name></BrowseNode><BrowseNode><BrowseNodeId>276520</BrowseNodeId><Name>Counselling</Name></BrowseNode><BrowseNode><BrowseNodeId>276510</BrowseNodeId><Name>Elderly Care</Name></BrowseNode><BrowseNode><BrowseNodeId>276513</BrowseNodeId><Name>Family Welfare</Name></BrowseNode><BrowseNode><BrowseNodeId>276515</BrowseNodeId><Name>Housing</Name></BrowseNode><BrowseNode><BrowseNodeId>276516</BrowseNodeId><Name>Welfare &amp; Benefit Systems</Name></BrowseNode><BrowseNode><BrowseNodeId>125462031</BrowseNodeId><Name>General AAS</Name></BrowseNode></Children><Ancestors><BrowseNode><BrowseNodeId>276482</BrowseNodeId><Name>Social Issues</Name><Ancestors><BrowseNode><BrowseNodeId>276411</BrowseNodeId><Name>Social Sciences</Name><Ancestors><BrowseNode><BrowseNodeId>60</BrowseNodeId><Name>Society, Politics &amp; Philosophy</Name><Ancestors><BrowseNode><BrowseNodeId>1025612</BrowseNodeId><Name>Subjects</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>400530011</BrowseNodeId><Name>English</Name><Ancestors><BrowseNode><BrowseNodeId>400529011</BrowseNodeId><Name>Language (feature_browse-bin)</Name><Ancestors><BrowseNode><BrowseNodeId>365481011</BrowseNodeId><Name>Refinements</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>492564011</BrowseNodeId><Name>Paperback</Name><Ancestors><BrowseNode><BrowseNodeId>492562011</BrowseNodeId><Name>Format (binding_browse-bin)</Name><Ancestors><BrowseNode><BrowseNodeId>365481011</BrowseNodeId><Name>Refinements</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode><BrowseNode><BrowseNodeId>182018031</BrowseNodeId><Name>Regular Size</Name><Ancestors><BrowseNode><BrowseNodeId>182016031</BrowseNodeId><Name>Font Size (format_browse-bin)</Name><Ancestors><BrowseNode><BrowseNodeId>365481011</BrowseNodeId><Name>Refinements</Name><Ancestors><BrowseNode><BrowseNodeId>266239</BrowseNodeId><Name>Books</Name></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></Ancestors></BrowseNode></BrowseNodes></Item></Items></ItemSearchResponse>
View
2  tests/Zend/Service/Amazon/_files/mozart_result.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2005-10-05">
+<ItemSearchResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01">
<OperationRequest>
<HTTPHeaders>
<Header Name="UserAgent" Value="Zend_Http_Client"/>
View
4 tests/Zend/Service/Amazon/_files/offers_with_names.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<ItemLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2005-10-05">
+<ItemLookupResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01">
<OperationRequest>
<HTTPHeaders>
<Header Name="UserAgent" Value="Zend_Http_Client"/>
@@ -11,7 +11,7 @@
<Argument Name="Service" Value="AWSECommerceService"/>
<Argument Name="Signature" Value="xxxxxxxxxxxxxxxxx"/>
<Argument Name="MerchantId" Value="All"/>
- <Argument Name="Version" Value="2005-10-05"/>
+ <Argument Name="Version" Value="2011-08-01"/>
<Argument Name="ItemId" Value="0439774098,B00000194U"/>
<Argument Name="IdType" Value="ASIN"/>
<Argument Name="AWSAccessKeyId" Value="xxxxxxxxxxxx"/>
Something went wrong with that request. Please try again.