Repository: wicket Updated Branches: refs/heads/wicket-6.x 623f8f4ca -> 5ae2809bd
WICKET-5887 Minor simplification of wicket:for declaration - use wicket:notEmptyToken as a base (cherry picked from commit 46e11b400d796c3abf97bfc2e0c6a26a343cb9cc) Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/5ae2809b Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/5ae2809b Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/5ae2809b Branch: refs/heads/wicket-6.x Commit: 5ae2809bd67787f27d3e7a84c1b52130c85bafa0 Parents: 623f8f4 Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Sun Apr 19 22:45:14 2015 +0300 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Sun Apr 19 22:46:02 2015 +0300 ---------------------------------------------------------------------- wicket-core/src/main/resources/META-INF/wicket.xsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/5ae2809b/wicket-core/src/main/resources/META-INF/wicket.xsd ---------------------------------------------------------------------- diff --git a/wicket-core/src/main/resources/META-INF/wicket.xsd b/wicket-core/src/main/resources/META-INF/wicket.xsd index 6621019..56a9ade 100644 --- a/wicket-core/src/main/resources/META-INF/wicket.xsd +++ b/wicket-core/src/main/resources/META-INF/wicket.xsd @@ -88,7 +88,7 @@ </attributeGroup> </redefine> - <attribute name="for" type="wicket:notEmptyToken"> + <attribute name="for"> <annotation> <documentation>Can be used in HTML <![CDATA[<label]]> element to automatically link it to a form element. The value of this attribute must have the same value of @@ -96,7 +96,7 @@ </documentation> </annotation> <simpleType> - <restriction base="wicket:token"> + <restriction base="wicket:notEmptyToken"> <pattern value="([^:]+(:[^:]+)*)?" /> </restriction> </simpleType>
