Skip to content

Commit b3af7f3

Browse files
committed
5.0 update
1 parent 55704ec commit b3af7f3

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

functions/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h2>Functions</h2>
3333
This is actually not supposed to be a public web page.
3434
</p>
3535
<p>
36-
The <code>http://omnifaces.org/functions</code> is supposed to be the XML namespace URI of OmniFaces functions.
36+
The <code>http://omnifaces.org/functions</code> is supposed to be the XML namespace URI of OmniFaces functions for OmniFaces versions until 4.x.
3737
Usually, you declare this URI in the XML root element of your XHTML file as below in order to use OmniFaces functions within the element.
3838
</p>
3939

@@ -44,6 +44,14 @@ <h2>Functions</h2>
4444
That they start with <code>http://</code> is indeed confusing to starters, but that's so far the best way to have a unique resource identifier (URI) for a XML namespace.
4545
</p>
4646

47+
<p>
48+
Since OmniFaces 5.0, the XML namespace URI is finally in URN format instead of URL format, aligned with the same change in Faces 4.0.
49+
So you won't anymore be confused it being in URL format.
50+
Upgrade to OmniFaces 5.0 and adjust all XML namespace URIs to be in URN format instead of URL format as soon as you can.
51+
</p>
52+
53+
<div class="highlight highlight-XML"><pre>&lt;html ... xmlns:o="omnifaces"&gt;</pre></div>
54+
4755
<h2>How does it work then?</h2>
4856

4957
<p>

ui/index.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,28 @@ <h2>UI</h2>
3333
This is actually not supposed to be a public web page.
3434
</p>
3535
<p>
36-
The <code>http://omnifaces.org/ui</code> is supposed to be the XML namespace URI of OmniFaces UI components.
36+
The <code>http://omnifaces.org/ui</code> is supposed to be the XML namespace URI of OmniFaces UI components for OmniFaces versions until 4.x.
3737
Usually, you declare this URI in the XML root element of your XHTML file as below in order to use OmniFaces UI components within the element.
3838
</p>
3939

4040
<div class="highlight highlight-XML"><pre>&lt;html ... xmlns:o="http://omnifaces.org/ui"&gt;</pre></div>
4141

4242
<p>
43-
Normally, XML namespace URIs do not represent actual web resources.
44-
That they start with <code>http://</code> is indeed confusing to starters, but that's so far the best way to have a unique resource identifier (URI) for a XML namespace.
43+
Normally, XML namespace URIs do not represent actual web resources.
44+
That they start with <code>http://</code> is indeed confusing to starters, but that's so far the best way to have a unique resource identifier (URI) for a XML namespace.
4545
</p>
4646

47+
<p>
48+
Since OmniFaces 5.0, the XML namespace URI is finally in URN format instead of URL format, aligned with the same change in Faces 4.0.
49+
So you won't anymore be confused it being in URL format.
50+
Upgrade to OmniFaces 5.0 and adjust all XML namespace URIs to be in URN format instead of URL format as soon as you can.
51+
</p>
52+
53+
<div class="highlight highlight-XML"><pre>&lt;html ... xmlns:o="omnifaces"&gt;</pre></div>
54+
55+
<p>
56+
57+
4758
<h2>How does it work then?</h2>
4859

4960
<p>

0 commit comments

Comments
 (0)