Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27982 Details for
Bug 45685
4suite Ft.Xml.Xslt.Processor returns garbage output when called inside a mod_python handler
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
test handler
test.py (text/plain), 557 bytes, created by
Mirko Maischberger
on 2004-03-25 00:34:01 UTC
(
hide
)
Description:
test handler
Filename:
MIME Type:
Creator:
Mirko Maischberger
Created:
2004-03-25 00:34:01 UTC
Size:
557 bytes
patch
obsolete
>from Ft.Lib.Uri import OsPathToUri >from Ft.Xml import InputSource >from Ft.Xml import Domlette >from Ft.Xml.Xslt import Processor >from mod_python import apache, util >import time > >def handler(req): > > req.content_type = "text/html" > > SRC = InputSource.DefaultFactory.fromUri( > OsPathToUri("/home/mirko/test.xml")) > STY = InputSource.DefaultFactory.fromUri( > OsPathToUri("/home/mirko/test.xsl")) > > proc = Processor.Processor() > proc.appendStylesheet(STY) > response = proc.run(SRC) > req.write(response) > return apache.OK
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 45685
: 27982 |
27983
|
27984
|
27985