EPrints Technical Mailing List Archive
Message: #00334
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Namespace information stripped from templates
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Namespace information stripped from templates
- From: Matthew Kerwin <matthew.kerwin@qut.edu.au>
- Date: Mon, 2 Apr 2012 16:04:01 +1000
Hey guys, In addition to the message below, my personal attempt at resolution uses a “blacklist”-type pattern, whereby certain namespaces are either stripped or dropped. I don’t know how complete or correct it is, but I’ve attached a diff file just in case. Cheers -- Matthew Kerwin | Web Developer | TILS | Digital Repository Team | Level 2, I Block, Kelvin Grove | ph 3138 3910 | matthew.kerwin@qut.edu.au | CRICOS No 00213J From: Mark Gregson Namespace declarations along with namespace component of attribute and elements names within templates are not preserved during preparation and output of pages (in 3.2.7). It appears that EPrints::XHTML::to_xhtml() is the culprit, actively stripping namespace info from the elements and attributes. We came across this while trying to set xml:lang attribute on the html element. I’m not sure this would be essential to anybody, it may be, but it would be nice if it was fixed for things like specifying xml:lang, Facebook integration, etc. Cheers Mark Mark Gregson | Application and Development Team Leader Level 2 | I Block | Kelvin Grove Campus |
Attachment:
XHTML.pm.diff
Description: XHTML.pm.diff
- References:
- [EP-tech] Namespace information stripped from templates
- From: Mark Gregson <mark.gregson@qut.edu.au>
- [EP-tech] Namespace information stripped from templates
- Prev by Date: [EP-tech] Namespace information stripped from templates
- Next by Date: [EP-tech] Re: sitemap creation
- Previous by thread: [EP-tech] Namespace information stripped from templates
- Next by thread: [EP-tech] Installing IRStats.pm
- Index(es):