0

Google スプレッドシートに行を挿入しようとしています。行、列などのカウントなどの他の機能は正常に機能します。行を挿入すると'Namespace Error'が表示されます。

An exception of type DOMException was thrown, but did not get caught during the execution of the request. You will find information provided by the exception along with a stack trace below.

Stack Trace
   1. at exception origin in ...\library\Zend\Gdata\App\Base.php line 220
   2. at Zend_Gdata_App_Base->getDOM([object DOMDocument], 1, NULL)
      in ...\library\Zend\Gdata\Spreadsheets\Extension\Custom.php line 64
   3. at Zend_Gdata_Spreadsheets_Extension_Custom->getDOM([object DOMDocument])
      in ...\library\Zend\Gdata\Spreadsheets\ListEntry.php line 77
   4. at Zend_Gdata_Spreadsheets_ListEntry->getDOM()
      in ...\library\Zend\Gdata\App\Base.php line 329
   5. at Zend_Gdata_App_Base->saveXML()
      in ...\library\Zend\Gdata\Spreadsheets.php line 336
   6. at Zend_Gdata_Spreadsheets->insertRow(array('xxx', 'xxx', 'Normal', 'Lease', 'xxx', 'test', 'test'), '0Aoxxx2c')  
4

1 に答える 1

1

この投稿がしばらく前のものであることは知っていますが、他の誰かの時間と頭痛の種を節約することを期待して、とにかく投稿することにしました.

私はこれと同じ問題を抱えていましたが、多くのデバッグの後、不正な形式の XML が原因であることが判明しました。

スペースを含む Key 値を渡すと、このエラーが発生します。

XMLパーサーに問題を引き起こす可能性のあるすべての文字を削除することで解決しました。

それが役立つことを願っています。

于 2010-06-08T20:55:20.057 に答える