You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/06/26 11:56:28 UTC
svn commit: r201734 -
/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java
Author: elecharny
Date: Sat Jun 25 00:50:56 2005
New Revision: 201734
URL: http://svn.apache.org/viewcvs?rev=201734&view=rev
Log:
Fixed a bad transition in the grammar
Modified:
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java
Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java?rev=201734&r1=201733&r2=201734&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java Sat Jun 25 00:50:56 2005
@@ -166,16 +166,6 @@
// attributes PartialAttributeList }
// PartialAttributeList ::= *SEQUENCE* OF SEQUENCE { (Tag)
// ...
- // Loop.
- super.transitions[LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTE_VALUE_OR_LIST_TAG][0x30] =
- new GrammarTransition(
- LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTE_VALUE_OR_LIST_TAG,
- LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTES_VALUE, null );
-
- // SearchResultEntry ::= [APPLICATION 4] SEQUENCE {
- // attributes PartialAttributeList }
- // PartialAttributeList ::= *SEQUENCE* OF SEQUENCE { (Tag)
- // ...
// We may have many attributes. Nothing to do
super.transitions[LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTES_VALUE][0x30] =
new GrammarTransition(
@@ -188,6 +178,16 @@
super.transitions[LdapStatesEnum.SEARCH_RESULT_ENTRY_PARTIAL_ATTRIBUTE_LIST_TAG][0x30] =
new GrammarTransition(
LdapStatesEnum.SEARCH_RESULT_ENTRY_PARTIAL_ATTRIBUTE_LIST_TAG,
+ LdapStatesEnum.SEARCH_RESULT_ENTRY_PARTIAL_ATTRIBUTE_LIST_VALUE, null );
+
+ // SearchResultEntry ::= [APPLICATION 4] SEQUENCE {
+ // attributes PartialAttributeList }
+ // PartialAttributeList ::= SEQUENCE OF *SEQUENCE* { (Tag)
+ // ...
+ // Loop.
+ super.transitions[LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTE_VALUE_OR_LIST_TAG][0x30] =
+ new GrammarTransition(
+ LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTE_VALUE_OR_LIST_TAG,
LdapStatesEnum.SEARCH_RESULT_ENTRY_PARTIAL_ATTRIBUTE_LIST_VALUE, null );
// PartialAttributeList ::= SEQUENCE OF *SEQUENCE* { (Value)