You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2009/07/21 19:04:29 UTC

svn commit: r796383 [16/23] - in /directory/shared/trunk: ./ dsml-parser/ dsml-parser/src/ dsml-parser/src/main/ dsml-parser/src/main/java/ dsml-parser/src/main/java/org/ dsml-parser/src/main/java/org/apache/ dsml-parser/src/main/java/org/apache/direct...

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_empty_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_empty_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<assertion name="sn"><value></value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_with_2_values.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_with_2_values.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_with_2_values.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_with_2_values.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<assertion name="sn"><value>Johnson</value></assertion>
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_without_name_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_without_name_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_without_name_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_without_name_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<assertion><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_without_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_assertion_without_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<assertion name="sn"/>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_complete_assertion.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_complete_assertion.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_complete_assertion.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_complete_assertion.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_complete_assertion_base64_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_complete_assertion_base64_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_complete_assertion_base64_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_complete_assertion_base64_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core"
+              xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
+              xmlns:xsd="http://www.w3c.org/2001/XMLSchema">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<assertion name="sn"><value xsi:type="xsd:base64Binary">RFNNTHYyLjAgcm9ja3MhIQ==</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue><!-- comment -->Some text<!-- another --></controlValue>
+		</control>
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control_base64_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control_base64_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control_base64_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control_base64_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core"
+              xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
+              xmlns:xsd="http://www.w3c.org/2001/XMLSchema">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue xsi:type="xsd:base64Binary">RFNNTHYyLjAgcm9ja3MhIQ==</controlValue>
+		</control>
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control_empty_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_1_control_empty_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue></controlValue>
+		</control>
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_2_complete_assertions.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_2_complete_assertions.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_2_complete_assertions.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_2_complete_assertions.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<assertion name="sn"><value>Johnson</value></assertion>
+		<assertion name="sn"><value>Thomson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_2_controls.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_2_controls.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_2_controls.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_2_controls.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue><!-- comment -->Some text<!-- another --></controlValue>
+		</control>
+		<control type="1.2.840.113556.1.4.789" criticality="false">
+			<controlValue><!-- comment -->Some other text<!-- another --></controlValue>
+		</control>
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_3_controls_without_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_3_controls_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_3_controls_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_3_controls_without_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+		</control>
+		
+		<control type="1.2.840.113556.1.4.789" criticality="false">
+		</control>
+		<control type="1.2.840.113556.1.4.456" criticality="true">
+		</control>
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_dn_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_dn_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_dn_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_dn_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_needed_requestID.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_needed_requestID.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_needed_requestID.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_needed_requestID.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest processing="parallel" responseOrder="unordered" xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_requestID_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_requestID_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_requestID_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_requestID_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM" requestID="456">
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_requestID_equals_0.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_requestID_equals_0.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_requestID_equals_0.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_with_requestID_equals_0.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM" requestID="0">
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_without_assertion.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_without_assertion.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_without_assertion.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_without_assertion.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_without_dn_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_without_dn_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_without_dn_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareRequest/request_without_dn_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<compareRequest>
+		<assertion name="sn"><value>Johnson</value></assertion>
+	</compareRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_control.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_control.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_control.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_control.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue><!-- comment -->Some text<!-- another --></controlValue>
+		</control>
+		<resultCode code="0" descr="success"/>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_control_empty_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_control_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_control_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_control_empty_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue></controlValue>
+		</control>
+		<resultCode code="0" descr="success"/>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_empty_referral.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_empty_referral.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_empty_referral.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_empty_referral.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<referral></referral>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_referral.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_referral.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_referral.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_referral.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<referral>ldap://www.apache.org</referral>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_referral_and_error_message.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_referral_and_error_message.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_referral_and_error_message.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_1_referral_and_error_message.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<errorMessage>Unrecognized extended operation EXTENSION_OID: 1.2.6.1.4.1.18060.1.1.1.100.2</errorMessage>
+		<referral>ldap://www.apache.org</referral>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_2_controls.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_2_controls.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_2_controls.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_2_controls.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse>
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue><!-- comment -->Some text<!-- another --></controlValue>
+		</control>
+		<control type="1.2.840.113556.1.4.789" criticality="false">
+			<controlValue><!-- comment -->Some other text<!-- another --></controlValue>
+		</control>
+		<resultCode code="0" descr="success"/>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_2_referrals.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_2_referrals.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_2_referrals.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_2_referrals.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<referral>ldap://www.apache.org</referral>
+    	<referral>ldap://www.apple.com</referral>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_3_controls_without_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_3_controls_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_3_controls_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_3_controls_without_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+		</control>
+		<control type="1.2.840.113556.1.4.789" criticality="false">
+		</control>
+		<control type="1.2.840.113556.1.4.456" criticality="true">
+		</control>
+		<resultCode code="0" descr="success"/>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_empty_error_message.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_empty_error_message.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_empty_error_message.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_empty_error_message.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<errorMessage></errorMessage>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_error_message.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_error_message.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_error_message.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_error_message.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<errorMessage>Unrecognized extended operation EXTENSION_OID: 1.2.6.1.4.1.18060.1.1.1.100.2</errorMessage>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_matchedDN_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_matchedDN_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_matchedDN_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_matchedDN_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10" matchedDN="CN=Bob Rush, OU=Dev, DC=Example, DC=COM">
+		<resultCode code="0" descr="success"/>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_requestID_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_requestID_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_requestID_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_requestID_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="456">
+		<resultCode code="0" descr="success"/>
+	</compareResponse>	
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_requestID_equals_0.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_requestID_equals_0.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_requestID_equals_0.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_requestID_equals_0.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="0">
+		<resultCode code="0" descr="success"/>
+	</compareResponse>	
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_result_code.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_result_code.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_result_code.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_result_code.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_result_code_not_integer.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_result_code_not_integer.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_result_code_not_integer.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_result_code_not_integer.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<resultCode code="error" descr="protocolError"/>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_wrong_descr.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_wrong_descr.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_wrong_descr.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_wrong_descr.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+		<resultCode code="0" descr="succes"/>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_wrong_matchedDN_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_wrong_matchedDN_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_wrong_matchedDN_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_with_wrong_matchedDN_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10" matchedDN="This is a wrong matchedDN">
+		<resultCode code="0" descr="success"/>
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_without_result_code.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_without_result_code.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_without_result_code.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/compareResponse/response_without_result_code.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<compareResponse requestID="10">
+	</compareResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<delRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue><!-- comment -->Some text<!-- another --></controlValue>
+		</control>
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control_base64_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control_base64_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control_base64_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control_base64_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core"
+              xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
+              xmlns:xsd="http://www.w3c.org/2001/XMLSchema">
+	<delRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue xsi:type="xsd:base64Binary">RFNNTHYyLjAgcm9ja3MhIQ==</controlValue>
+		</control>
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control_empty_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_1_control_empty_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<delRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue></controlValue>
+		</control>
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_2_controls.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_2_controls.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_2_controls.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_2_controls.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<delRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue><!-- comment -->Some text<!-- another --></controlValue>
+		</control>
+		<control type="1.2.840.113556.1.4.789" criticality="false">
+			<controlValue><!-- comment -->Some other text<!-- another --></controlValue>
+		</control>
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_3_controls_without_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_3_controls_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_3_controls_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_3_controls_without_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<delRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+		</control>
+		<control type="1.2.840.113556.1.4.789" criticality="false">
+		</control>
+		<control type="1.2.840.113556.1.4.456" criticality="true">
+		</control>
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_dn_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_dn_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_dn_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_dn_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<delRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_needed_requestID.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_needed_requestID.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_needed_requestID.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_needed_requestID.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest processing="parallel" responseOrder="unordered" xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<delRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_requestID_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_requestID_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_requestID_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_requestID_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<delRequest requestID="456" dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_requestID_equals_0.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_requestID_equals_0.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_requestID_equals_0.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_with_requestID_equals_0.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<delRequest requestID="0" dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_without_dn_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_without_dn_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_without_dn_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delRequest/request_without_dn_attribute.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+	<delRequest>
+	</delRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delResponse/response_with_1_control.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delResponse/response_with_1_control.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delResponse/response_with_1_control.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/delResponse/response_with_1_control.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<delResponse requestID="10">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue><!-- comment -->Some text<!-- another --></controlValue>
+		</control>
+		<resultCode code="0" descr="success"/>
+	</delResponse>
+</batchResponse>
\ No newline at end of file