Repository: wicket Updated Branches: refs/heads/wicket-7.x c422446e0 -> 3de8969f0
WICKET-6226 DOCTYPE URL in properties.xml example in wicket documentation won't work. Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/3de8969f Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/3de8969f Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/3de8969f Branch: refs/heads/wicket-7.x Commit: 3de8969f017c7f07765f38f235413ee06d6f8d20 Parents: c422446 Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Fri Aug 26 17:11:37 2016 +0200 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Fri Aug 26 17:14:47 2016 +0200 ---------------------------------------------------------------------- wicket-user-guide/src/docs/guide/i18n/i18n_2.gdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/3de8969f/wicket-user-guide/src/docs/guide/i18n/i18n_2.gdoc ---------------------------------------------------------------------- diff --git a/wicket-user-guide/src/docs/guide/i18n/i18n_2.gdoc b/wicket-user-guide/src/docs/guide/i18n/i18n_2.gdoc index 9866502..f16f613 100644 --- a/wicket-user-guide/src/docs/guide/i18n/i18n_2.gdoc +++ b/wicket-user-guide/src/docs/guide/i18n/i18n_2.gdoc @@ -44,13 +44,13 @@ If you want to use UTF-8 with your text files, make sure that your editor/IDE is h3. Using XML files as resource bundles -Starting from version 1.5, Java introduced the support for XML files as resource bundles. XML files are generally encoded with character sets UTF-8 or UTF-16 which support every symbol of the Unicode standard. In order to be a valid resource bundle the XML file must conform to the DTD available at "http://www.oracle.com/webfolder/technetwork/jsc/dtd/properties.dtd":http://www.oracle.com/webfolder/technetwork/jsc/dtd/properties.dtd . +Starting from version 1.5, Java introduced the support for XML files as resource bundles. XML files are generally encoded with character sets UTF-8 or UTF-16 which support every symbol of the Unicode standard. In order to be a valid resource bundle the XML file must conform to the DTD available at "http://java.sun.com/dtd/properties.dtd":http://java.sun.com/dtd/properties.dtd . Here is an example of XML resource bundle taken from project LocalizedGreetings (file WicketApplication_zh.properties.xml) containing the translation in simplified Chinese of the greeting message âWelcome to the website!â: {code:xml} <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE properties SYSTEM "http://www.oracle.com/webfolder/technetwork/jsc/dtd/properties.dtd"> +<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <entry key="greetingMessage">欢è¿å 临æ¬ç½ç«ï¼</entry> </properties>
