You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2007/11/05 15:53:11 UTC

svn commit: r592023 [25/25] - in /directory/sandbox/felixk/studio-dsml-parser: ./ META-INF/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/directory/ src/main/java/org/apache/directory/studio/ src/ma...

Added: directory/sandbox/felixk/studio-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/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control_empty_value.xml?rev=592023&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control_empty_value.xml (added)
+++ directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control_empty_value.xml Mon Nov  5 06:52:22 2007
@@ -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

Propchange: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_control_empty_value.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-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/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_empty_ref.xml?rev=592023&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_empty_ref.xml (added)
+++ directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_empty_ref.xml Mon Nov  5 06:52:22 2007
@@ -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

Propchange: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_empty_ref.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_ref.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_ref.xml?rev=592023&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_ref.xml (added)
+++ directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_ref.xml Mon Nov  5 06:52:22 2007
@@ -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

Propchange: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_ref.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-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/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_wrong_ref.xml?rev=592023&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_wrong_ref.xml (added)
+++ directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_wrong_ref.xml Mon Nov  5 06:52:22 2007
@@ -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

Propchange: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_1_wrong_ref.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_controls.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_controls.xml?rev=592023&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_controls.xml (added)
+++ directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_controls.xml Mon Nov  5 06:52:22 2007
@@ -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

Propchange: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_controls.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_ref.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_ref.xml?rev=592023&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_ref.xml (added)
+++ directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_ref.xml Mon Nov  5 06:52:22 2007
@@ -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

Propchange: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_2_ref.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-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/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_3_controls_without_value.xml?rev=592023&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_3_controls_without_value.xml (added)
+++ directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_3_controls_without_value.xml Mon Nov  5 06:52:22 2007
@@ -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

Propchange: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_3_controls_without_value.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_attribute.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_attribute.xml?rev=592023&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_attribute.xml (added)
+++ directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_attribute.xml Mon Nov  5 06:52:22 2007
@@ -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

Propchange: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_attribute.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/studio-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/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_equals_0.xml?rev=592023&view=auto
==============================================================================
--- directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_equals_0.xml (added)
+++ directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_equals_0.xml Mon Nov  5 06:52:22 2007
@@ -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

Propchange: directory/sandbox/felixk/studio-dsml-parser/src/test/resources/org/apache/directory/studio/dsmlv2/searchResponse/searchResultReference/response_with_requestID_equals_0.xml
------------------------------------------------------------------------------
    svn:eol-style = native