HomePhabricator

* (bug 27465) Fix metadata extraction for SVG files using unusual namespace…

Description

  • (bug 27465) Fix metadata extraction for SVG files using unusual namespace names

The previous fix (in r82307) only checked explicitly for a namespace given the 'svg' prefix; this fix use XML namespacing support on XMLReader to check for the actual namespace URI correctly.
Fixed up a test case (for RDF extraction) and added trimming on the whitespace.
Also added another test case file that doesn't use a namespace name on the root.

Details

Committed
brionMay 25 2011, 11:59 PM
Parents
rSVN88870: Reverting r82307 (bug 27465) as initial step to recommitting a cleaner fix.
Branches
Unknown
Tags
Unknown
ChangeId
None