directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r796383 [19/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...
Date Tue, 21 Jul 2009 17:04:29 GMT
Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_2_controls.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_2_controls.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_2_controls.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse>
+		<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"/>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_2_referrals.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_2_referrals.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_2_referrals.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<referral>ldap://www.apache.org</referral>
+    	<referral>ldap://www.apple.com</referral>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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/modDNResponse/response_with_3_controls_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_3_controls_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse 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"/>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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/modDNResponse/response_with_empty_error_message.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_empty_error_message.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<errorMessage></errorMessage>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_error_message.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_error_message.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_error_message.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse 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>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_matchedDN_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_matchedDN_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_matchedDN_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="10" matchedDN="CN=Bob Rush, OU=Dev, DC=Example, DC=COM">
+		<resultCode code="0" descr="success"/>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_requestID_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_requestID_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_requestID_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="456">
+		<resultCode code="0" descr="success"/>
+	</modDNResponse>	
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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/modDNResponse/response_with_requestID_equals_0.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_requestID_equals_0.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="0">
+		<resultCode code="0" descr="success"/>
+	</modDNResponse>	
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_result_code.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_result_code.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_result_code.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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/modDNResponse/response_with_result_code_not_integer.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_result_code_not_integer.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="10">
+		<resultCode code="error" descr="protocolError"/>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_wrong_descr.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_wrong_descr.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_wrong_descr.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="10">
+		<resultCode code="0" descr="succes"/>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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/modDNResponse/response_with_wrong_matchedDN_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_with_wrong_matchedDN_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="10" matchedDN="This is a wrong matchedDN">
+		<resultCode code="0" descr="success"/>
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_without_result_code.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_without_result_code.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/response_without_result_code.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modDNResponse/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">
+	<modDNResponse requestID="10">
+	</modDNResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_control.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_control.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_control.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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">
+<modifyRequest 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>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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/modifyRequest/request_with_1_control_base64_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_control_base64_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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">
+<modifyRequest 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>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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/modifyRequest/request_with_1_control_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_control_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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">
+<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue></controlValue>
+		</control>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_modification.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_modification.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_modification.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_modification.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="add">
+			<value>CN=John Smith, DC=microsoft, DC=com</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_modification_base64_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_modification_base64_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_modification_base64_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_1_modification_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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="add">
+			<value xsi:type="xsd:base64Binary">Y249RW1tYW51ZWwgTMOpY2hhcm55LCBvdT1wZW9wbGUsIGRjPWV4YW1wbGUsIGRjPWNvbQ==</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_2_controls.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_2_controls.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_2_controls.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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">
+	<modifyRequest 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>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_2_modifications.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_2_modifications.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_2_modifications.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_2_modifications.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="add">
+			<value>CN=John Smith, DC=microsoft, DC=com</value>
+		</modification>
+		<modification name="sn" operation="replace">
+			<value>CN=Steve Jobs, DC=apple, DC=com</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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/modifyRequest/request_with_3_controls_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_3_controls_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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">
+	<modifyRequest 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>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_with_2_values.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_with_2_values.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_with_2_values.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_with_2_values.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="add">
+			<value>CN=John Smith, DC=microsoft, DC=com</value>
+			<value>CN=Steve Jobs, DC=apple, DC=com</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_with_empty_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_with_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_with_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_with_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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="add">
+			<value></value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_without_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_modification_without_value.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="add">
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_needed_requestID.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_needed_requestID.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_needed_requestID.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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">
+<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_add.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_add.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_add.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_add.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="add">
+			<value>CN=John Smith, DC=microsoft, DC=com</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_delete.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_delete.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_delete.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_delete.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="delete">
+			<value>CN=John Smith, DC=microsoft, DC=com</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_error.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_error.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_error.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_error.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="error">
+			<value>CN=John Smith, DC=microsoft, DC=com</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_replace.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_replace.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_replace.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_operation_replace.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport" operation="replace">
+			<value>CN=John Smith, DC=microsoft, DC=com</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_requestID_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_requestID_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_requestID_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM" requestID="456">
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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/modifyRequest/request_with_requestID_equals_0.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_with_requestID_equals_0.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM" requestID="0">
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_dn_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_dn_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_dn_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/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">
+	<modifyRequest>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_name_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_name_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_name_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_name_attribute.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification operation="add">
+			<value>CN=John Smith, DC=microsoft, DC=com</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_operation_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_operation_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_operation_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyRequest/request_without_operation_attribute.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">
+	<modifyRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+		<modification name="directReport">
+			<value>CN=John Smith, DC=microsoft, DC=com</value>
+		</modification>
+	</modifyRequest>
+</batchRequest>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_1_control.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_1_control.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_1_control.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse 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"/>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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/modifyResponse/response_with_1_control_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_1_control_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse requestID="10">
+		<control type="1.2.840.113556.1.4.643" criticality="true">
+			<controlValue></controlValue>
+		</control>
+		<resultCode code="0" descr="success"/>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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/modifyResponse/response_with_1_empty_referral.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_1_empty_referral.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<referral></referral>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_1_referral.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_1_referral.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_1_referral.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<referral>ldap://www.apache.org</referral>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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/modifyResponse/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/modifyResponse/response_with_1_referral_and_error_message.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse 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>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_2_controls.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_2_controls.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_2_controls.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse>
+		<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"/>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_2_referrals.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_2_referrals.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_2_referrals.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<referral>ldap://www.apache.org</referral>
+    	<referral>ldap://www.apple.com</referral>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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/modifyResponse/response_with_3_controls_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_3_controls_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse 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"/>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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/modifyResponse/response_with_empty_error_message.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_empty_error_message.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse requestID="10">
+		<resultCode code="2" descr="protocolError"/>
+    	<errorMessage></errorMessage>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_error_message.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_error_message.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_error_message.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse 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>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_matchedDN_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_matchedDN_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_matchedDN_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse requestID="10" matchedDN="CN=Bob Rush, OU=Dev, DC=Example, DC=COM">
+		<resultCode code="0" descr="success"/>
+	</modifyResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_requestID_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_requestID_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/response_with_requestID_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/modifyResponse/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">
+	<modifyResponse requestID="456">
+		<resultCode code="0" descr="success"/>
+	</modifyResponse>	
+</batchResponse>
\ No newline at end of file



Mime
View raw message