Repository: wicket Updated Branches: refs/heads/master fa7677df6 -> 46e11b400
WICKET-5887 Minor simplification of wicket:for declaration - use wicket:notEmptyToken as a base Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/46e11b40 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/46e11b40 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/46e11b40 Branch: refs/heads/master Commit: 46e11b400d796c3abf97bfc2e0c6a26a343cb9cc Parents: fa7677d 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:45:14 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/46e11b40/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 6d00aad..cc93674 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>
