Permalink
Browse files

test case for Bug 1884

git-svn-id: http://svn.php.net/repository/pear/packages/XML_Beautifier/trunk@266676 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent cf2d076 commit ae6d44525620362f673e090643764dad2a64b65b Chuck Burgess committed Sep 22, 2008
Showing with 15 additions and 0 deletions.
  1. +15 −0 tests/bug-1884.phpt
View
@@ -0,0 +1,15 @@
+--TEST--
+XML Beautifier - Bug #1884: Parser is changing ö to
+--FILE--
+<?php
+require_once 'XML/Beautifier.php';
+$xml='XML/Beautifier.php';
+
+$string = '<?xml version="1.0" encoding="ISO-8859-1"?><objekttitel>sch&#246;n</objekttitel>';
+
+$xml = new XML_Beautifier();
+echo $xml->formatString($string);
+?>
+--EXPECT--
+<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
+<objekttitel>sch&#246;n</objekttitel>

0 comments on commit ae6d445

Please sign in to comment.