Repository: wicket
Updated Branches:
  refs/heads/wicket-6.x 7a623e9ee -> f35fd8cec


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

Branch: refs/heads/wicket-6.x
Commit: f35fd8cec0b77bf6c28dd8e2f0ed0a19b742883c
Parents: 7a623e9
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:11:37 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/f35fd8ce/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 499aa0e..f0de51c 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