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 [23/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/searchResponse/searchResultEntry/response_with_0_attr.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_0_attr.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_0_attr.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_0_attr.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_0_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_0_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_0_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_0_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">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+			<attr name="dc" >
+			</attr>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_base64_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_base64_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_base64_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_base64_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,33 @@
+<?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"
+              xmlns:xsi="http://www.w3c.org/2001/XMLSchema-instance"
+              xmlns:xsd="http://www.w3c.org/2001/XMLSchema">
+	<searchResponse>
+		<searchResultEntry dn="uid=elecharny,dc=example,dc=com">
+			<attr name="cn">
+				<value xsi:type="xsd:base64Binary">RW1tYW51ZWwgTMOpY2hhcm55</value>
+			</attr>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_empty_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_empty_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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+			<attr name="dc">
+				<value></value>
+			</attr>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_1_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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+			<attr name="dc">
+				<value>example</value>
+			</attr>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_2_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_2_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_2_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_2_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,32 @@
+<?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">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+			<attr name="objectclass">
+	            <value>top</value>
+				<value>domain</value>
+			</attr>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_without_name_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_without_name_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_without_name_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_attr_without_name_attribute.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">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+			<attr>
+			</attr>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_control.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_control.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_control.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_control.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+			<control type="1.2.840.113556.1.4.643" criticality="true">
+				<controlValue><!-- comment -->Some text<!-- another --></controlValue>
+			</control>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/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/searchResponse/searchResultEntry/response_with_1_control_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_control_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_1_control_empty_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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+			<control type="1.2.840.113556.1.4.643" criticality="true">
+				<controlValue></controlValue>
+			</control>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_2_attr_1_value.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_2_attr_1_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_2_attr_1_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_2_attr_1_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,34 @@
+<?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">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+			<attr name="dc">
+				<value>example</value>
+			</attr>
+			<attr name="objectclass">
+	            <value>top</value>
+			</attr>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_2_controls.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_2_controls.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_2_controls.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_2_controls.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,34 @@
+<?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">
+	<searchResponse>
+		<searchResultEntry dn="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>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/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/searchResponse/searchResultEntry/response_with_3_controls_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_3_controls_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_3_controls_without_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,34 @@
+<?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">
+	<searchResponse>
+		<searchResultEntry dn="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>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>		
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_dn_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_dn_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_dn_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_dn_attribute.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com">
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_requestID_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_requestID_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_requestID_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_requestID_attribute.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com" requestID="456">
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/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/searchResponse/searchResultEntry/response_with_requestID_equals_0.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_requestID_equals_0.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_requestID_equals_0.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry dn="dc=example,dc=com" requestID="0">
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_wrong_dn_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_wrong_dn_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_wrong_dn_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_with_wrong_dn_attribute.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry dn="This is a wrong DN">
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_without_dn_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_without_dn_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_without_dn_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultEntry/response_without_dn_attribute.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultEntry>
+		</searchResultEntry>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_0_ref.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_0_ref.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_0_ref.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_0_ref.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultReference>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,32 @@
+<?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">
+	<searchResponse>
+		<searchResultReference>
+			<control type="1.2.840.113556.1.4.643" criticality="true">
+				<controlValue><!-- comment -->Some text<!-- another --></controlValue>
+			</control>
+			<ref>ldap://localhost</ref>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/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/searchResponse/searchResultReference/response_with_1_control_empty_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control_empty_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control_empty_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,32 @@
+<?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">
+	<searchResponse>
+		<searchResultReference>
+			<control type="1.2.840.113556.1.4.643" criticality="true">
+				<controlValue></controlValue>
+			</control>
+			<ref>ldap://localhost</ref>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_empty_ref.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_empty_ref.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_empty_ref.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_empty_ref.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultReference>			
+			<ref></ref>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_ref.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_ref.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_ref.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_ref.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultReference>			
+			<ref>ldap://localhost</ref>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_wrong_ref.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_wrong_ref.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_wrong_ref.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_wrong_ref.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultReference>			
+			<ref>http://thisIsAWrongRef.com</ref>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_controls.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_controls.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_controls.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_controls.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,35 @@
+<?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">
+	<searchResponse>
+		<searchResultReference>
+			<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>
+			<ref>ldap://localhost</ref>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

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

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/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/searchResponse/searchResultReference/response_with_3_controls_without_value.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_3_controls_without_value.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_3_controls_without_value.xml Tue Jul 21 17:04:13 2009
@@ -0,0 +1,35 @@
+<?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">
+	<searchResponse>
+		<searchResultReference>
+			<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>
+			<ref>ldap://localhost</ref>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>		
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_attribute.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_attribute.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_attribute.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_attribute.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultReference requestID="456">
+			<ref>ldap://localhost</ref>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Added: directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/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/searchResponse/searchResultReference/response_with_requestID_equals_0.xml?rev=796383&view=auto
==============================================================================
--- directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_equals_0.xml (added)
+++ directory/shared/trunk/dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_equals_0.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.
+-->
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" resquestID="1234567890">
+	<searchResponse>
+		<searchResultReference requestID="0">
+			<ref>ldap://localhost</ref>
+		</searchResultReference>
+		<searchResultDone>
+			<resultCode code="0" descr="success"/>
+		</searchResultDone>
+	</searchResponse>
+</batchResponse>
\ No newline at end of file

Modified: directory/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=796383&r1=796382&r2=796383&view=diff
==============================================================================
--- directory/shared/trunk/pom.xml (original)
+++ directory/shared/trunk/pom.xml Tue Jul 21 17:04:13 2009
@@ -57,6 +57,7 @@
     <module>convert</module>
     <module>client-api</module>
     <module>cursor</module>
+    <module>dsml-parser</module>
   </modules>
 
   <dependencyManagement>
@@ -108,6 +109,18 @@
         <artifactId>mina-core</artifactId>
         <version>2.0.0-M6</version>
       </dependency>
+      
+      <dependency>
+        <groupId>dom4j</groupId>
+        <artifactId>dom4j</artifactId>
+        <version>1.6.1</version>
+      </dependency>
+      
+      <dependency>
+        <groupId>xpp3</groupId>
+        <artifactId>xpp3</artifactId>
+        <version>1.1.3.4.O</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>