<commit_before><?xml version="1.0"?>
<!-- This file is used for xml files which install, update or delete event listeners. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
	<!-- include types -->
	<xs:include schemaLocation="types.xsd" />
	
	<!-- data node -->
	<xs:element name="data">
		<xs:complexType>
			<xs:all>
				<xs:element name="import" type="import" minOccurs="0" />
				<xs:element name="delete" type="delete" minOccurs="0" />
			</xs:all>
		</xs:complexType>
	</xs:element>
	
	<!-- import element type -->
	<xs:complexType name="import">
		<xs:sequence>
			<xs:element name="eventlistener" type="eventlistener" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	
	<!-- delete element type -->
	<xs:complexType name="delete">
		<xs:sequence>
			<xs:element name="eventlistener" type="eventlistener" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	
	<!-- event listener element type -->
	<xs:complexType name="eventlistener">
		<xs:all>
			<xs:element name="eventclassname" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0" />
						<xs:maxLength value="80" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="eventname" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0" />
						<xs:maxLength value="50" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="listenerclassname" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0" />
						<xs:maxLength value="200" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="inherit" type="woltlab_boolean" minOccurs="0" />
			<xs:element name="environment" type="woltlab_environment" minOccurs="0" />
			<xs:element name="nice" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:minInclusive value="-128" />
						<xs:maxInclusive value="127" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="options" type="xs:string" minOccurs="0" />
			<xs:element name="permissions" type="xs:string" minOccurs="0" />
		</xs:all>
		<xs:attribute name="name" type="woltlab_varchar" use="optional" />
	</xs:complexType>
</xs:schema><commit_msg>`eventname` supports a comma separated list of values<commit_after><?xml version="1.0"?>
<!-- This file is used for xml files which install, update or delete event listeners. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.woltlab.com" targetNamespace="http://www.woltlab.com" elementFormDefault="qualified">
	<!-- include types -->
	<xs:include schemaLocation="types.xsd" />
	
	<!-- data node -->
	<xs:element name="data">
		<xs:complexType>
			<xs:all>
				<xs:element name="import" type="import" minOccurs="0" />
				<xs:element name="delete" type="delete" minOccurs="0" />
			</xs:all>
		</xs:complexType>
	</xs:element>
	
	<!-- import element type -->
	<xs:complexType name="import">
		<xs:sequence>
			<xs:element name="eventlistener" type="eventlistener" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	
	<!-- delete element type -->
	<xs:complexType name="delete">
		<xs:sequence>
			<xs:element name="eventlistener" type="eventlistener" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	
	<!-- event listener element type -->
	<xs:complexType name="eventlistener">
		<xs:all>
			<xs:element name="eventclassname">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0" />
						<xs:maxLength value="80" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="eventname" type="xs:string" />
			<xs:element name="listenerclassname">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:minLength value="0" />
						<xs:maxLength value="200" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="inherit" type="woltlab_boolean" minOccurs="0" />
			<xs:element name="environment" type="woltlab_environment" minOccurs="0" />
			<xs:element name="nice" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:integer">
						<xs:minInclusive value="-128" />
						<xs:maxInclusive value="127" />
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="options" type="xs:string" minOccurs="0" />
			<xs:element name="permissions" type="xs:string" minOccurs="0" />
		</xs:all>
		<xs:attribute name="name" type="woltlab_varchar" use="optional" />
	</xs:complexType>
</xs:schema>
{'fraction_non_alphanumeric': 0.19297503173931443, 'fraction_numerical': 0.012695725772323318, 'mean_word_length': 4.205947136563877, 'pattern_counts': {'":': 0, '<': 134, '<?xml version=': 2, '>': 134, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 8}, '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': '770499', 'n_tokens_mistral': 1943, 'n_tokens_neox': 1619, 'n_words': 290}