Index: trunk/phase3/includes/media/SVGMetadataExtractor.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | */ |
50 | 50 | function __construct( $source ) { |
51 | 51 | $this->reader = new XMLReader(); |
52 | | - $this->reader->open( $source ); |
| 52 | + $this->reader->open( $source, null, LIBXML_NOERROR | LIBXML_NOWARNING ); |
53 | 53 | |
54 | 54 | $this->metadata['width'] = self::DEFAULT_WIDTH; |
55 | 55 | $this->metadata['height'] = self::DEFAULT_HEIGHT; |