On Wed, 9 May 2001, Jason Cunliffe wrote:
def testjaxml(self): versionstring = "jaxml version" + jaxml.__version__ x =jaxml.XML_document() x.sometag(what="testing") x.anestedtag(name="nested") x._text("Waiting for Godot") return x
This time it breaks:
The above testjaxml.py now works ok :-)
OK, anyway attached to this message you'll find an external method to test jaxml in Zope again !
Now at least I can focus on why zshell is not running on my system.
I don't use any particular setup, just plain old Zope compiled from source, on localhost:8080, tested both as anonymous and admin works fine here. PS: did the 0.6beta1 I've posted this morning solve the problem ? bye, Jerome Alet # to test jaxml in Zope import jaxml def testjaxml(self) : x = jaxml.HTML_document() if hasattr(self, "standard_html_header") : x._text("%s" % self.standard_html_header(self, self.REQUEST)) else : x.default_headers(title = "jaxml module test page") x.body(bgcolor="red") x.h3("This is a test page for the jaxml module version %s" % jaxml.__version__) x.a("Download", href="http://cortex.unice.fr/~jerome/jaxml/") x._text("the jaxml module") if hasattr(self, "standard_html_footer") : x._text("%s" % self.standard_html_footer(self, self.REQUEST)) return str(x)