From: Lars E. <od...@xa...> - 2008-01-30 13:24:50
|
Hello, problem solved, my fault :) Nevertheless, attached a patch set against tag revision 0.5.3. This patch corrects method definitions for saveXML() and getTag() in various files for accordance against E_STRICT as well some notices. Additionally I removed the php end tags in order to avoid messages like "headers already send", look at Validator.php in the last lines (2 lines after ?>) I hope you could integrate it into upstream.. lars Am Dienstag, den 29.01.2008, 19:36 -0500 schrieb ad...@ya...: > Lars Erler wrote: > > hello @all, > > > > I'm currently evaluating your classes for a project. > > Testcase is Debian Etch 4.0 with php5.2.5 from dotdeb and > > phpopendocument trunk (#282) [0.5.3 same problems] > > > > Sample Script is this: > > > > [SNIP] > > > > > > Somebody any ideas? > > > > lars > Hey Lars, > > Hmm.. I have just run your file and it is working on both Command line > and web-based, they both produced the correct results.. (I only > changed the include paths..) > > That error is normally caused when the ZipFile (.odt file), is not > opened correctly from what I can gather.. But that would normally > output a warning from the Open() (line ~232 (same file as original > warning)) as well.. > > Is it just that warning that you are receiving? From the tests I have > run I cannot manage to get it to output just one error message.. it > does it for all four components (content.xml, meta.xml, settings.xml, > styles.xml).. > > Can you try printing out the $localname variable in that function > (line ~175) and seeing which file is producing the warning.. > > Thanks, Alex Latchford.. > > PS.. This mailing list isn't very active, neither is the project > currently, Norman Markgraf is the real driver of the project so he may > have a more comprehensive answer.. :) > |