Repository: wicket
Updated Branches:
  refs/heads/master 14f4f43ea -> 8855ecf21


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/8855ecf2
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/8855ecf2
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/8855ecf2

Branch: refs/heads/master
Commit: 8855ecf213c28aeeabf5c42adce15567b4627bf2
Parents: 14f4f43
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:15:16 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/8855ecf2/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 5781a12..c29ae55 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>

Reply via email to