Ticket #7603 (closed defect: fixed)
exported xml files are downloaded instead of displayed
| Reported by: | catphive@… | Owned by: | cboos |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.2 |
| Component: | version control/browser | Version: | 0.11.1 |
| Severity: | normal | Keywords: | xml svn browser wiki |
| Cc: |
Description
Checked in xml documents that have attached stylesheets and xsl are downloaded instead of displayed when using the export:/my_path/my_doc.xml links.
To reproduce the problem, check in an xml document such as this that processes itself: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
also check in the stylesheet and xsl in the same directory so they can be referenced: http://google-styleguide.googlecode.com/svn/trunk/styleguide.css http://google-styleguide.googlecode.com/svn/trunk/styleguide.xsl
Now add a export link to your wiki: export:/my_path_to/cppguide.xml
The correct behavior would be to send the xml document to the browser like a normal html doc. Instead it has the browser download it (probably the mime type is wrong for exported xml documents).


