<commit_before><?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://wicket.apache.org"
	xmlns:wicket="http://wicket.apache.org"
	xmlns:xhtml="http://www.w3.org/1999/xhtml"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.w3.org/1999/xhtml http://www.w3.org/MarkUp/SCHEMA/xhtml-basic10.xsd"
	elementFormDefault="qualified"
	version="7.0.0">

	<!-- types -->

	<simpleType name="token">
		<annotation>
			<documentation>An extension of standard token type with the
				restriction of collapsing white space, which means that the XML
				processor WILL REMOVE all white space characters (line feeds, tabs,
				spaces, carriage returns are replaced with spaces, leading and
				trailing spaces are removed, and multiple spaces are reduced to a
				single space).</documentation>
		</annotation>
		<restriction base="token">
			<whiteSpace value="collapse" />
		</restriction>
	</simpleType>

	<simpleType name="notEmptyToken">
		<annotation>
			<documentation>Extends wicket:token type with the restriction that
				the value can not be empty.</documentation>
		</annotation>
		<restriction base="wicket:token">
			<minLength value="1" />
		</restriction>
	</simpleType>

	<complexType name="mixedContent" mixed="true">
		<annotation>
			<documentation>A complex type that allows any amount of mixed child
				content from any origin.</documentation>
		</annotation>
		<choice minOccurs="0" maxOccurs="unbounded">
			<any namespace="##targetNamespace" processContents="strict" />
			<any namespace="##other" processContents="lax" />
		</choice>
	</complexType>

	<complexType name="notEmptyMixedContent" mixed="true">
		<annotation>
			<documentation>Extends wicket:mixedContent with the restriction that
				at least one child element must be given.</documentation>
		</annotation>
		<choice minOccurs="1" maxOccurs="unbounded">
			<any namespace="##targetNamespace" processContents="strict" />
			<any namespace="##other" processContents="lax" />
		</choice>
	</complexType>

	<!-- attributes -->

	<attribute name="enclosure">
		<annotation>
			<documentation>This attribute is useful for filtering markup that
				surrounds a component but has its visibility dependent on the
				visibility of that component. It is similar to the wicket:enclosure
				tag. The value is the wicket:id of the dependent component. No value
				can be used if there is only one nested wicket component.
				"foo:bar:baz" format can be used to specify a nested path.
			</documentation>
		</annotation>
		<simpleType>
			<restriction base="wicket:token">
				<pattern value="([^:]+(:[^:]+)*)?" />
			</restriction>
		</simpleType>
	</attribute>

	<attribute name="id" type="wicket:notEmptyToken">
		<annotation>
			<documentation>The wicket component id. Used on any element to which
				you want to add a component.</documentation>
		</annotation>
	</attribute>

	<redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-basic10.xsd">
		<attributeGroup name="xhtml.label.attlist">
			<attributeGroup ref="xhtml.label.attlist"/>
			<attribute ref="wicket:for"/>
		</attributeGroup>
	</redefine>

	<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
				the form component's wicket:id attribute.
			</documentation>
		</annotation>
		<simpleType>
			<restriction base="wicket:notEmptyToken">
				<pattern value="([^:]+(:[^:]+)*)?" />
			</restriction>
		</simpleType><commit_msg>WICKET-5887 Mandate that the value of 'wicket:enclosure" attribute is non-empty. Disallows whitespace<commit_after><?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://wicket.apache.org"
	xmlns:wicket="http://wicket.apache.org"
	xmlns:xhtml="http://www.w3.org/1999/xhtml"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.w3.org/1999/xhtml http://www.w3.org/MarkUp/SCHEMA/xhtml-basic10.xsd"
	elementFormDefault="qualified"
	version="7.0.0">

	<!-- types -->

	<simpleType name="token">
		<annotation>
			<documentation>An extension of standard token type with the
				restriction of collapsing white space, which means that the XML
				processor WILL REMOVE all white space characters (line feeds, tabs,
				spaces, carriage returns are replaced with spaces, leading and
				trailing spaces are removed, and multiple spaces are reduced to a
				single space).</documentation>
		</annotation>
		<restriction base="token">
			<whiteSpace value="collapse" />
		</restriction>
	</simpleType>

	<simpleType name="notEmptyToken">
		<annotation>
			<documentation>Extends wicket:token type with the restriction that
				the value can not be empty.</documentation>
		</annotation>
		<restriction base="wicket:token">
			<minLength value="1" />
		</restriction>
	</simpleType>

	<complexType name="mixedContent" mixed="true">
		<annotation>
			<documentation>A complex type that allows any amount of mixed child
				content from any origin.</documentation>
		</annotation>
		<choice minOccurs="0" maxOccurs="unbounded">
			<any namespace="##targetNamespace" processContents="strict" />
			<any namespace="##other" processContents="lax" />
		</choice>
	</complexType>

	<complexType name="notEmptyMixedContent" mixed="true">
		<annotation>
			<documentation>Extends wicket:mixedContent with the restriction that
				at least one child element must be given.</documentation>
		</annotation>
		<choice minOccurs="1" maxOccurs="unbounded">
			<any namespace="##targetNamespace" processContents="strict" />
			<any namespace="##other" processContents="lax" />
		</choice>
	</complexType>

	<!-- attributes -->

	<attribute name="enclosure">
		<annotation>
			<documentation>This attribute is useful for filtering markup that
				surrounds a component but has its visibility dependent on the
				visibility of that component. It is similar to the wicket:enclosure
				tag. The value is the wicket:id of the dependent component. No value
				can be used if there is only one nested wicket component.
				"foo:bar:baz" format can be used to specify a nested path.
			</documentation>
		</annotation>
		<simpleType>
			<restriction base="wicket:notEmptyToken">
				<pattern value="([^:]+(:[^:]+)*)?" />
			</restriction>
		</simpleType>
	</attribute>

	<attribute name="id" type="wicket:notEmptyToken">
		<annotation>
			<documentation>The wicket component id. Used on any element to which
				you want to add a component.</documentation>
		</annotation>
	</attribute>

	<redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml-basic10.xsd">
		<attributeGroup name="xhtml.label.attlist">
			<attributeGroup ref="xhtml.label.attlist"/>
			<attribute ref="wicket:for"/>
		</attributeGroup>
	</redefine>

	<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
				the form component's wicket:id attribute.
			</documentation>
		</annotation>
		<simpleType>
			<restriction base="wicket:notEmptyToken">
				<pattern value="([^:]+(:[^:]+)*)?" />
			</restriction>
		</simpleType>
{'fraction_non_alphanumeric': 0.13564410480349345, 'fraction_numerical': 0.01009825327510917, 'mean_word_length': 4.473487677371173, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 2, '>': 155, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2362508', 'n_tokens_mistral': 2555, 'n_tokens_neox': 2153, 'n_words': 624}