cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14977] New: - SQLTransformer serializeData method
Date Sun, 01 Dec 2002 06:21:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14977>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14977

SQLTransformer serializeData method

           Summary: SQLTransformer serializeData method
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: tony@cultech.com.au


XML Serialization doesn't work because lines from 1196 should read:

if (transformer.parser == null) {
                            transformer.parser = (Parser)manager.lookup
(Parser.ROLE);
                        }
                        if (transformer.compiler == null) {
                            compiler = (XMLSerializer)manager.lookup
(XMLSerializer.ROLE);
                        }
                        if (transformer.interpreter == null) {
                            interpreter = (XMLDeserializer)manager.lookup
(XMLDeserializer.ROLE);
                        }

Ie. the if statements were !=, so xml data was never serialized because parser 
etc were null and threw a NullPointerException.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message