commits@directory.apache.org
[Top] [All Lists]

svn commit: r475805 [12/17] - in /directory/sandbox/pamarcelot/ldapstudi

Subject: svn commit: r475805 [12/17] - in /directory/sandbox/pamarcelot/ldapstudio/ldapstudio-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/direc...
From:
Date: Thu, 16 Nov 2006 16:38:51 -0000
Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/java/org/apache/directory/ldapstudio/dsmlv2/searchResponse/searchResultEntry/SearchResultEntryTest.java
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/java/org/apache/directory/ldapstudio/dsmlv2/searchResponse/searchResultEntry/SearchResultEntryTest.java?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/java/org/apache/directory/ldapstudio/dsmlv2/searchResponse/searchResultEntry/SearchResultEntryTest.java
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/java/org/apache/directory/ldapstudio/dsmlv2/searchResponse/searchResultEntry/SearchResultEntryTest.java
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,438 @@
+/*
+ *  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. 
+ *  
+ */
+
+package 
org.apache.directory.ldapstudio.dsmlv2.searchResponse.searchResultEntry;
+
+import javax.naming.NamingEnumeration;
+import javax.naming.NamingException;
+import javax.naming.directory.Attribute;
+import javax.naming.directory.Attributes;
+
+import org.apache.directory.ldapstudio.dsmlv2.AbstractResponseTest;
+import org.apache.directory.ldapstudio.dsmlv2.Dsmlv2ResponseParser;
+import org.apache.directory.ldapstudio.dsmlv2.reponse.SearchResponse;
+import org.apache.directory.shared.ldap.codec.Control;
+import org.apache.directory.shared.ldap.codec.search.SearchResultEntry;
+import org.apache.directory.shared.ldap.util.StringTools;
+
+/**
+ * Tests for the Search Result Entry Response parsing
+ */
+public class SearchResultEntryTest extends AbstractResponseTest
+{
+    /**
+     * Test parsing of a response with a (optional) Control element
+     */
+    public void testResponseWith1Control()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_1_control.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+
+        SearchResultEntry searchResultEntry = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() ).getCurrentSearchResultEntry();
+        
+        assertEquals( 1, searchResultEntry.getControls().size() );
+        
+        Control control = searchResultEntry.getCurrentControl();
+        
+        assertTrue( control.getCriticality() );
+        
+        assertEquals( "1.2.840.113556.1.4.643", control.getControlType() );
+        
+        assertEquals( "Some text", StringTools.utf8ToString( ( byte[] ) 
control.getControlValue() ) );
+    }
+    
+
+    /**
+     * Test parsing of a response with 2 (optional) Control elements
+     */
+    public void testResponseWith2Controls()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_2_controls.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultEntry searchResultEntry = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() ).getCurrentSearchResultEntry();
+        
+        assertEquals( 2, searchResultEntry.getControls().size() );
+        
+        Control control = searchResultEntry.getCurrentControl();
+        
+        assertFalse( control.getCriticality() );
+        
+        assertEquals( "1.2.840.113556.1.4.789", control.getControlType() );
+        
+        assertEquals( "Some other text", StringTools.utf8ToString( ( byte[] ) 
control.getControlValue() ) );
+    }
+    
+    /**
+     * Test parsing of a response with 3 (optional) Control elements without 
value
+     */
+    public void testResponseWith3ControlsWithoutValue()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_3_controls_without_value.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+
+        SearchResultEntry searchResultEntry = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() ).getCurrentSearchResultEntry();
+        
+        assertEquals( 3, searchResultEntry.getControls().size() );
+        
+        Control control = searchResultEntry.getCurrentControl();
+        
+        assertTrue( control.getCriticality() );
+        
+        assertEquals( "1.2.840.113556.1.4.456", control.getControlType() );
+        
+        assertEquals( StringTools.EMPTY_BYTES, control.getControlValue() );
+    }
+       
+    /**
+     * Test parsing of a response without dn Attribute
+     */
+    public void testResponseWithoutDnAttribute()
+    {
+        testParsingFail( SearchResultEntryTest.class, 
"response_without_dn_attribute.xml");
+    }
+    
+    /**
+     * Test parsing of a response with wrong dn Attribute
+     */
+    public void testResponseWithWrongDnAttribute()
+    {
+        testParsingFail( SearchResultEntryTest.class, 
"response_with_wrong_dn_attribute.xml");
+    }
+    
+    
+    /**
+     * Test parsing of a response with dn Attribute
+     */
+    public void testResponseWithDnAttribute()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_dn_attribute.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultEntry searchResultEntry = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() ).getCurrentSearchResultEntry();
+
+               assertEquals( "dc=example,dc=com", 
searchResultEntry.getObjectName().toString() );
+    }
+    
+    
+    /**
+     * Test parsing of a Response with the (optional) requestID attribute
+     */
+    public void testResponseWithRequestId()
+    {
+        Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_requestID_attribute.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultEntry searchResultEntry = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() ).getCurrentSearchResultEntry();
+        
+        assertEquals( 456, searchResultEntry.getMessageId() );
+    }
+    
+    
+    /**
+     * Test parsing of a response with 0 Attr
+     */
+    public void testResponseWith0Attr()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_0_attr.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        assertTrue( true );
+    }
+    
+    
+    /**
+     * Test parsing of a response with 1 Attr 0 Value
+     */
+    public void testResponseWith1Attr0Value()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_1_attr_0_value.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultEntry searchResultEntry = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() ).getCurrentSearchResultEntry();
+
+        Attributes attributes = searchResultEntry.getPartialAttributeList();
+        
+        assertEquals( 1, attributes.size() );
+        
+        NamingEnumeration ne = attributes.getAll();
+        
+        Attribute attribute = (Attribute) ne.nextElement();
+        
+        assertEquals( "dc", attribute.getID() );
+    }
+    
+    
+    /**
+     * Test parsing of a response with 1 Attr 1 Value
+     */
+    public void testResponseWith1Attr1Value()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_1_attr_1_value.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultEntry searchResultEntry = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() ).getCurrentSearchResultEntry();
+
+        Attributes attributes = searchResultEntry.getPartialAttributeList();
+        
+        assertEquals( 1, attributes.size() );
+        
+        NamingEnumeration ne = attributes.getAll();
+        
+        Attribute attribute = (Attribute) ne.nextElement();
+        
+        assertEquals( "dc", attribute.getID() );
+        
+        assertEquals( 1, attribute.size());
+       
+        NamingEnumeration ne2 = null;
+        try
+        {
+                       ne2 = attribute.getAll();
+               } 
+        catch (NamingException e)
+        {
+                       fail();
+               }
+        
+        String value = (String) ne2.nextElement();
+        
+        assertEquals( "example", value);
+    }
+    
+    
+    /**
+     * Test parsing of a response with 1 Attr 2 Value
+     */
+    public void testResponseWith1Attr2Value()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_1_attr_2_value.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultEntry searchResultEntry = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() ).getCurrentSearchResultEntry();
+
+        Attributes attributes = searchResultEntry.getPartialAttributeList();
+        
+        assertEquals( 1, attributes.size() );
+        
+        NamingEnumeration ne = attributes.getAll();
+        
+        Attribute attribute = (Attribute) ne.nextElement();
+        
+        assertEquals( "objectclass", attribute.getID() );
+        
+        assertEquals( 2, attribute.size());
+       
+        NamingEnumeration ne2 = null;
+        try
+        {
+                       ne2 = attribute.getAll();
+               } 
+        catch (NamingException e)
+        {
+                       fail();
+               }
+        
+        String value = (String) ne2.nextElement();
+        
+        assertEquals( "top", value);
+        
+        value = (String) ne2.nextElement();
+        
+        assertEquals( "domain", value);
+    }
+    
+    
+    /**
+     * Test parsing of a response with 2 Attr 1 Value
+     */
+    public void testResponseWith2Attr1Value()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultEntryTest.class.getResource( 
"response_with_2_attr_1_value.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultEntry searchResultEntry = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() ).getCurrentSearchResultEntry();
+
+        Attributes attributes = searchResultEntry.getPartialAttributeList();
+        
+        assertEquals( 2, attributes.size() );
+        
+        NamingEnumeration ne = attributes.getAll();
+        
+        Attribute attribute = (Attribute) ne.nextElement();
+        
+        assertEquals( "dc", attribute.getID() );
+        
+        assertEquals( 1, attribute.size());
+       
+        NamingEnumeration ne2 = null;
+        try
+        {
+                       ne2 = attribute.getAll();
+               } 
+        catch (NamingException e)
+        {
+                       fail();
+               }
+        
+        String value = (String) ne2.nextElement();
+        
+        assertEquals( "example", value);
+        
+        attribute = (Attribute) ne.nextElement();
+        
+        assertEquals( "objectclass", attribute.getID() );
+        
+        assertEquals( 1, attribute.size());
+       
+        ne2 = null;
+        try
+        {
+                       ne2 = attribute.getAll();
+               } 
+        catch (NamingException e)
+        {
+                       fail();
+               }
+        
+        value = (String) ne2.nextElement();
+        
+        assertEquals( "top", value);
+    }
+    
+    
+    /**
+     * Test parsing of a response with 1 Attr without name Attribute
+     */
+    public void testResponseWith1AttrWithoutNameAttribute()
+    {
+       testParsingFail( SearchResultEntryTest.class, 
"response_with_1_attr_without_name_attribute.xml" );
+    }
+}

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/java/org/apache/directory/ldapstudio/dsmlv2/searchResponse/searchResultReference/SearchResultReferenceTest.java
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/java/org/apache/directory/ldapstudio/dsmlv2/searchResponse/searchResultReference/SearchResultReferenceTest.java?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/java/org/apache/directory/ldapstudio/dsmlv2/searchResponse/searchResultReference/SearchResultReferenceTest.java
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/java/org/apache/directory/ldapstudio/dsmlv2/searchResponse/searchResultReference/SearchResultReferenceTest.java
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,258 @@
+/*
+ *  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. 
+ *  
+ */
+
+package 
org.apache.directory.ldapstudio.dsmlv2.searchResponse.searchResultReference;
+
+import java.util.List;
+
+import org.apache.directory.ldapstudio.dsmlv2.AbstractResponseTest;
+import org.apache.directory.ldapstudio.dsmlv2.Dsmlv2ResponseParser;
+import org.apache.directory.ldapstudio.dsmlv2.reponse.SearchResponse;
+import org.apache.directory.shared.ldap.codec.Control;
+import org.apache.directory.shared.ldap.codec.search.SearchResultReference;
+import org.apache.directory.shared.ldap.codec.util.LdapURL;
+import org.apache.directory.shared.ldap.codec.util.LdapURLEncodingException;
+import org.apache.directory.shared.ldap.util.StringTools;
+
+/**
+ * Tests for the Search Result Reference Response parsing
+ */
+public class SearchResultReferenceTest extends AbstractResponseTest
+{
+    /**
+     * Test parsing of a response with a (optional) Control element
+     */
+    public void testResponseWith1Control()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultReferenceTest.class.getResource( 
"response_with_1_control.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+
+        SearchResultReference searchResultReference = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() 
).getCurrentSearchResultReference();
+        
+        assertEquals( 1, searchResultReference.getControls().size() );
+        
+        Control control = searchResultReference.getCurrentControl();
+        
+        assertTrue( control.getCriticality() );
+        
+        assertEquals( "1.2.840.113556.1.4.643", control.getControlType() );
+        
+        assertEquals( "Some text", StringTools.utf8ToString( ( byte[] ) 
control.getControlValue() ) );
+    }
+    
+
+    /**
+     * Test parsing of a response with 2 (optional) Control elements
+     */
+    public void testResponseWith2Controls()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultReferenceTest.class.getResource( 
"response_with_2_controls.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultReference searchResultReference = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() 
).getCurrentSearchResultReference();
+        
+        assertEquals( 2, searchResultReference.getControls().size() );
+        
+        Control control = searchResultReference.getCurrentControl();
+        
+        assertFalse( control.getCriticality() );
+        
+        assertEquals( "1.2.840.113556.1.4.789", control.getControlType() );
+        
+        assertEquals( "Some other text", StringTools.utf8ToString( ( byte[] ) 
control.getControlValue() ) );
+    }
+    
+    /**
+     * Test parsing of a response with 3 (optional) Control elements without 
value
+     */
+    public void testResponseWith3ControlsWithoutValue()
+    {
+       Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultReferenceTest.class.getResource( 
"response_with_3_controls_without_value.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+
+        SearchResultReference searchResultReference = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() 
).getCurrentSearchResultReference();
+        
+        assertEquals( 3, searchResultReference.getControls().size() );
+        
+        Control control = searchResultReference.getCurrentControl();
+        
+        assertTrue( control.getCriticality() );
+        
+        assertEquals( "1.2.840.113556.1.4.456", control.getControlType() );
+        
+        assertEquals( StringTools.EMPTY_BYTES, control.getControlValue() );
+    }
+    
+    
+    /**
+     * Test parsing of a Response with the (optional) requestID attribute
+     */
+    public void testResponseWithRequestId()
+    {
+        Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultReferenceTest.class.getResource( 
"response_with_requestID_attribute.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultReference searchResultReference = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() 
).getCurrentSearchResultReference();
+        
+        assertEquals( 456, searchResultReference.getMessageId() );
+    }
+    
+    
+    /**
+     * Test parsing of a response with 0 Ref
+     */
+    public void testResponseWith0Ref()
+    {
+        testParsingFail( SearchResultReferenceTest.class, 
"response_with_0_ref.xml");
+    }
+    
+    
+    /**
+     * Test parsing of a Response with 1 Ref
+     */
+    public void testResponseWith1Ref()
+    {
+        Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultReferenceTest.class.getResource( 
"response_with_1_ref.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultReference searchResultReference = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() 
).getCurrentSearchResultReference();
+        
+        List references = searchResultReference.getSearchResultReferences();
+        
+        assertEquals( 1, references.size() );
+        
+        try 
+        {
+                       assertEquals( new LdapURL( "ldap://localhost"; 
).toString() , references.get( 0 ).toString() );
+               }
+        catch (LdapURLEncodingException e) 
+        {
+                       fail();
+               }
+    }
+    
+    
+    /**
+     * Test parsing of a Response with 2 Ref
+     */
+    public void testResponseWith2Ref()
+    {
+        Dsmlv2ResponseParser parser = null;
+        try
+        {
+            parser = new Dsmlv2ResponseParser();
+            
+            parser.setInputFile( SearchResultReferenceTest.class.getResource( 
"response_with_2_ref.xml" ).getFile() );
+        
+            parser.parse();
+        }
+        catch ( Exception e )
+        {
+            fail( e.getMessage() );
+        }
+        
+        SearchResultReference searchResultReference = ( ( SearchResponse ) 
parser.getBatchResponse().getCurrentResponse() 
).getCurrentSearchResultReference();
+        
+        List references = searchResultReference.getSearchResultReferences();
+        
+        assertEquals( 2, references.size() );
+        
+        try 
+        {
+                       assertEquals( new LdapURL( "ldap://localhost"; 
).toString() , references.get( 0 ).toString() );
+               }
+        catch (LdapURLEncodingException e) 
+        {
+                       fail();
+               }
+        
+        try 
+        {
+                       assertEquals( new LdapURL( "ldap://www.apache.org"; 
).toString() , references.get( 1 ).toString() );
+               }
+        catch (LdapURLEncodingException e) 
+        {
+                       fail();
+               }
+    }
+    
+    /**
+     * Test parsing of a response with 1 wrong Ref
+     */
+    public void testResponseWith1WrongRef()
+    {
+        testParsingFail( SearchResultReferenceTest.class, 
"response_with_1_wrong_ref.xml");
+    }
+}

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_1_control.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_1_control.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_1_control.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_1_control.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <abandonRequest abandonID="123">
+               <control type="1.2.840.113556.1.4.643" criticality="true">
+                       <controlValue><!-- comment -->Some text<!-- another 
--></controlValue>
+               </control>
+       </abandonRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_2_controls.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_2_controls.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_2_controls.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_2_controls.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <abandonRequest abandonID="123">
+               <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>
+       </abandonRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_3_controls_without_value.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_3_controls_without_value.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_3_controls_without_value.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_3_controls_without_value.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <abandonRequest abandonID="123">
+               <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>
+       </abandonRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_abandonID_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_abandonID_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_abandonID_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_abandonID_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <abandonRequest abandonID="123">
+       </abandonRequest>
+</batchRequest>

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_requestID_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_requestID_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_requestID_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_with_requestID_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <abandonRequest abandonID="123" requestID="456">
+       </abandonRequest>
+</batchRequest>

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_without_abandonID_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_without_abandonID_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_without_abandonID_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/abandonRequest/request_without_abandonID_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <abandonRequest>
+       </abandonRequest>
+</batchRequest>

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_with_2_values.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_with_2_values.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_with_2_values.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_with_2_values.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+               <attr 
name="objectclass"><value>top</value><value>person</value></attr>
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_with_value.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_with_value.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_with_value.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_with_value.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+               <attr name="objectclass"><value>top</value></attr>
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_without_name_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_without_name_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_without_name_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_without_name_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+               <attr><value>top</value></attr>
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_without_value.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_without_value.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_without_value.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_attr_without_value.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+               <attr name="objectclass"><value>top</value></attr>
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_control.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_control.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_control.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_1_control.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest 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>
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_2_attr_with_value.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_2_attr_with_value.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_2_attr_with_value.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_2_attr_with_value.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+               <attr name="objectclass"><value>top</value></attr>
+               <attr name="objectclass"><value>person</value></attr>
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_2_controls.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_2_controls.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_2_controls.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_2_controls.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest 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>
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_3_controls_without_value.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_3_controls_without_value.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_3_controls_without_value.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_3_controls_without_value.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest 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>
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_dn_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_dn_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_dn_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_dn_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_requestID_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_requestID_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_requestID_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_with_requestID_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest requestID="456" dn="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_without_dn_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_without_dn_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_without_dn_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addRequest/request_without_dn_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <addRequest>
+       </addRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_control.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_control.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_control.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_control.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse 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"/>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_referral.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_referral.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_referral.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_referral.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse requestID="10">
+               <resultCode code="2" descr="protocolError"/>
+       <referral>ldap://www.apache.org</referral>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_referral_and_error_message.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_referral_and_error_message.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_referral_and_error_message.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_1_referral_and_error_message.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse 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>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_2_controls.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_2_controls.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_2_controls.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_2_controls.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse>
+               <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"/>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_2_referrals.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_2_referrals.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_2_referrals.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_2_referrals.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse requestID="10">
+               <resultCode code="2" descr="protocolError"/>
+       <referral>ldap://www.apache.org</referral>
+       <referral>ldap://www.apple.com</referral>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_3_controls_without_value.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_3_controls_without_value.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_3_controls_without_value.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_3_controls_without_value.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse 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"/>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_error_message.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_error_message.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_error_message.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_error_message.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse 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>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_matchedDN_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_matchedDN_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_matchedDN_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_matchedDN_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse requestID="10" matchedDN="CN=Bob Rush, OU=Dev, DC=Example, 
DC=COM">
+               <resultCode code="0" descr="success"/>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_requestID_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_requestID_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_requestID_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_requestID_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse requestID="456">
+               <resultCode code="0" descr="success"/>
+       </addResponse>  
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_result_code.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_result_code.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_result_code.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_result_code.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse requestID="10">
+               <resultCode code="2" descr="protocolError"/>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_result_code_not_integer.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_result_code_not_integer.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_result_code_not_integer.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_result_code_not_integer.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse requestID="10">
+               <resultCode code="error" descr="protocolError"/>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_wrong_descr.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_wrong_descr.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_wrong_descr.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_wrong_descr.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse requestID="10">
+               <resultCode code="0" descr="succes"/>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_wrong_matchedDN_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_wrong_matchedDN_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_wrong_matchedDN_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_with_wrong_matchedDN_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse requestID="10" matchedDN="This is a wrong matchedDN">
+               <resultCode code="0" descr="success"/>
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_without_result_code.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_without_result_code.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_without_result_code.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/addResponse/response_without_result_code.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <addResponse requestID="10">
+       </addResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_1_control.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_1_control.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_1_control.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_1_control.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <authRequest principal="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>
+       </authRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_2_controls.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_2_controls.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_2_controls.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_2_controls.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <authRequest principal="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>
+       </authRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_3_controls_without_value.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_3_controls_without_value.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_3_controls_without_value.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_3_controls_without_value.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <authRequest principal="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>
+       </authRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_principal_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_principal_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_principal_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_principal_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <authRequest principal="CN=Bob Rush,OU=Dev,DC=Example,DC=COM">
+       </authRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_requestID_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_requestID_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_requestID_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_with_requestID_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <authRequest requestID="456" principal="CN=Bob 
Rush,OU=Dev,DC=Example,DC=COM">
+       </authRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_without_principal_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_without_principal_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_without_principal_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authRequest/request_without_principal_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+       <authRequest>
+       </authRequest>
+</batchRequest>

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_control.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_control.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_control.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_control.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse 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"/>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_referral.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_referral.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_referral.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_referral.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse requestID="10">
+               <resultCode code="2" descr="protocolError"/>
+       <referral>ldap://www.apache.org</referral>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_referral_and_error_message.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_referral_and_error_message.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_referral_and_error_message.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_1_referral_and_error_message.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse 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>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_2_controls.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_2_controls.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_2_controls.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_2_controls.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse>
+               <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"/>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_2_referrals.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_2_referrals.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_2_referrals.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_2_referrals.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse requestID="10">
+               <resultCode code="2" descr="protocolError"/>
+       <referral>ldap://www.apache.org</referral>
+       <referral>ldap://www.apple.com</referral>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_3_controls_without_value.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_3_controls_without_value.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_3_controls_without_value.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_3_controls_without_value.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse 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"/>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_error_message.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_error_message.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_error_message.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_error_message.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse 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>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_matchedDN_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_matchedDN_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_matchedDN_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_matchedDN_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse requestID="10" matchedDN="CN=Bob Rush, OU=Dev, 
DC=Example, DC=COM">
+               <resultCode code="0" descr="success"/>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_requestID_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_requestID_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_requestID_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_requestID_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse requestID="456">
+               <resultCode code="0" descr="success"/>
+       </authResponse> 
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_result_code.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_result_code.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_result_code.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_result_code.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse requestID="10">
+               <resultCode code="2" descr="protocolError"/>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_result_code_not_integer.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_result_code_not_integer.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_result_code_not_integer.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_result_code_not_integer.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse requestID="10">
+               <resultCode code="error" descr="protocolError"/>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_wrong_descr.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_wrong_descr.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_wrong_descr.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_wrong_descr.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse requestID="10">
+               <resultCode code="0" descr="succes"/>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_wrong_matchedDN_attribute.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_wrong_matchedDN_attribute.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_wrong_matchedDN_attribute.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_with_wrong_matchedDN_attribute.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse requestID="10" matchedDN="This is a wrong matchedDN">
+               <resultCode code="0" descr="success"/>
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_without_result_code.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_without_result_code.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_without_result_code.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/authResponse/response_without_result_code.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<batchResponse xmlns="urn:oasis:names:tc:DSML:2.0:core" 
resquestID="1234567890">
+       <authResponse requestID="10">
+       </authResponse>
+</batchResponse>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_0_request.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_0_request.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_0_request.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_0_request.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core">
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_1_AbandonRequest.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_1_AbandonRequest.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_1_AbandonRequest.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_1_AbandonRequest.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core" requestID="1234567890">
+       <abandonRequest abandonID="123">
+       </abandonRequest>
+</batchRequest>
\ No newline at end of file

Added: 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_1_AddRequest.xml
URL: 
http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_1_AddRequest.xml?view=auto&rev=475805
==============================================================================
--- 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_1_AddRequest.xml
 (added)
+++ 
directory/sandbox/pamarcelot/ldapstudio/ldapstudio-dsml-parser/src/test/resources/org/apache/directory/ldapstudio/dsmlv2/batchRequest/request_with_1_AddRequest.xml
 Thu Nov 16 08:38:31 2006
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<batchRequest xmlns="urn:oasis:names:tc:DSML:2.0:core" requestID="1234567890">
+       <addRequest requestID="5" dn="CN=Bob Rush,DC=Example,DC=COM">
+               <attr name="objectclass"><value>top</value></attr>
+               <attr name="objectclass"><value>person</value></attr>
+               <attr name="sn"><value>snvalue</value></attr>
+       </addRequest>
+</batchRequest>
\ No newline at end of file


<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: r475805 [12/17] - in /directory/sandbox/pamarcelot/ldapstudio/ldapstudio-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/direc..., pamarcelot <=