2010-02-25 4 views
0

Google 스프레드 시트에 행을 삽입하려고합니다. 행, 열 등의 계산과 같은 다른 기능은 정상적으로 작동하지만, 행을 삽입하면 'Namespace Error'이됩니다.Zend_Gdata_Spreadsheets는 데이터를 삽입 할 때 '네임 스페이스 오류'를 표시합니까?

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') 
+0

누군가에게 도움이되도록 코드를 붙여 넣어야합니다. 라이브러리의 버그처럼 보입니다. 그렇다면 Zend Framework 이슈 트래커를 통해보고해야합니다. –

답변

1

는이 게시물이 다시 잠시에서 알고,하지만 난 다른 사람의 시간과 두통을 저장하는 희망 어쨌든 게시 거라고 생각.

나는이 같은 문제를 겪고 있었고 많은 디버깅을 한 후에 잘못된 형식의 XML로 인해 발생한다고 판명되었습니다.

공백이있는 키 값을 전달하는 경우이 오류가 발생합니다.

XML 파서 문제를 일으킬 수있는 모든 문자를 제거하여 해결했습니다.

희망이 있습니다.