[jboss-jira] [JBoss JIRA] Updated: (JBRULES-920) Rules - in ESB Content Based Router - reports error reading rules file with CR/NL line endings

Len DiMaggio (JIRA) jira-events at lists.jboss.org
Tue Jun 12 14:11:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-920?page=all ]

Len DiMaggio updated JBRULES-920:
---------------------------------

    Attachment: MyESBRules-XPath.drl.CRNL

The offending file is attached...

od -a MyESBRules-XPath.drl.CRNL 
0000000   #   c   r   e   a   t   e   d  sp   o   n   :  sp   N   o   v
0000020  sp   8   ,  sp   2   0   0   6  cr  nl   p   a   c   k   a   g
0000040   e  sp   c   o   m   .   j   b   o   s   s   .   s   o   a   .
0000060   e   s   b   .   r   o   u   t   i   n   g   .   c   b   r  cr
0000100  nl  cr  nl   #   l   i   s   t  sp   a   n   y  sp   i   m   p
0000120   o   r   t  sp   c   l   a   s   s   e   s  sp   h   e   r   e
0000140   .  cr  nl   i   m   p   o   r   t  sp   o   r   g   .   j   b
0000160   o   s   s   .   s   o   a   .   e   s   b   .   m   e   s   s
0000200   a   g   e   .   M   e   s   s   a   g   e   ;  cr  nl   i   m
0000220   p   o   r   t  sp   o   r   g   .   j   b   o   s   s   .   s
0000240   o   a   .   e   s   b   .   m   e   s   s   a   g   e   .   f
0000260   o   r   m   a   t   .   M   e   s   s   a   g   e   T   y   p
0000300   e   ;  cr  nl  cr  nl   e   x   p   a   n   d   e   r  sp   X
0000320   P   a   t   h   L   a   n   g   u   a   g   e   .   d   s   l
0000340  cr  nl  cr  nl   #   d   e   c   l   a   r   e  sp   a   n   y
0000360  sp   g   l   o   b   a   l  sp   v   a   r   i   a   b   l   e
0000400   s  sp   h   e   r   e  cr  nl   g   l   o   b   a   l  sp   j
0000420   a   v   a   .   u   t   i   l   .   L   i   s   t  sp   d   e
0000440   s   t   i   n   a   t   i   o   n   s   ;  cr  nl  cr  nl   r
0000460   u   l   e  sp   "   R   o   u   t   i   n   g  sp   R   u   l
0000500   e  sp   u   s   i   n   g  sp   X   P   A   T   H  sp   e   q
0000520   u   a   l   s  sp   r   e   g   u   l   a   r   "  cr  nl  ht
0000540   w   h   e   n  cr  nl  ht  ht   x   p   a   t   h   E   q   u
0000560   a   l   s  sp   "   /   O   r   d   e   r   /   @   r   o   u
0000600   t   e   T   o   F   o   l   l   o   w   "   ,  sp   "   r   e
0000620   g   u   l   a   r   "  cr  nl  ht   t   h   e   n  sp  cr  nl
0000640  ht  ht   L   o   g  sp   :  sp   "   r   e   g   u   l   a   r
0000660  sp   d   e   s   t   i   n   a   t   i   o   n   "   ;  cr  nl
0000700  ht  ht   D   e   s   t   i   n   a   t   i   o   n  sp   :  sp
0000720   "   r   e   g   u   l   a   r   "   ;  cr  nl   e   n   d  cr
0000740  nl  cr  nl   r   u   l   e  sp   "   R   o   u   t   i   n   g
0000760  sp   R   u   l   e  sp   u   s   i   n   g  sp   X   P   A   T
0001000   H  sp   e   q   u   a   l   s  sp   w   i   r   e   t   a   p
0001020   "  cr  nl  sp  sp  sp  sp  sp  sp  sp  sp   w   h   e   n  sp
0001040  sp  sp  sp  cr  nl  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp
0001060  sp  sp  sp  sp  sp   x   p   a   t   h   E   q   u   a   l   s
0001100  sp   "   /   O   r   d   e   r   /   @   r   o   u   t   e   T
0001120   o   F   o   l   l   o   w   "   ,  sp   "   w   i   r   e   t
0001140   a   p   "  cr  nl  sp  sp  sp  sp  sp  sp  sp  sp   t   h   e
0001160   n  cr  nl  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp
0001200  sp  sp  sp   L   o   g  sp   :  sp   "   w   i   r   e   t   a
0001220   p  sp   d   e   s   t   i   n   a   t   i   o   n   "   ;  cr
0001240  nl  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp
0001260  sp   D   e   s   t   i   n   a   t   i   o   n  sp   :  sp   "
0001300   w   i   r   e   t   a   p   "   ;  cr  nl   e   n   d  cr  nl
0001320  cr  nl   r   u   l   e  sp   "   R   o   u   t   i   n   g  sp
0001340   R   u   l   e  sp   u   s   i   n   g  sp   X   P   A   T   H
0001360  sp   e   q   u   a   l   s  sp   b   o   t   h   "  cr  nl  sp
0001400  sp  sp  sp  sp  sp  sp  sp   w   h   e   n  sp  sp  sp  sp  cr
0001420  nl  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp
0001440  sp   x   p   a   t   h   E   q   u   a   l   s  sp   "   /   O
0001460   r   d   e   r   /   @   r   o   u   t   e   T   o   F   o   l
0001500   l   o   w   "   ,  sp   "   b   o   t   h   "  cr  nl  sp  sp
0001520  sp  sp  sp  sp  sp  sp   t   h   e   n  cr  nl  sp  sp  sp  sp
0001540  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp   L   o   g  sp
0001560   :  sp   "   b   o   t   h  sp   d   e   s   t   i   n   a   t
0001600   i   o   n   s   "   ;  cr  nl  sp  sp  sp  sp  sp  sp  sp  sp
0001620  sp  sp  sp  sp  sp  sp  sp  sp   D   e   s   t   i   n   a   t
0001640   i   o   n  sp   :  sp   "   r   e   g   u   l   a   r   "   ;
0001660  cr  nl  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp  sp
0001700  sp  sp   D   e   s   t   i   n   a   t   i   o   n  sp   :  sp
0001720   "   w   i   r   e   t   a   p   "   ;  cr  nl   e   n   d  cr
0001740  nl  cr  nl
0001743


> Rules - in ESB Content Based Router - reports error reading rules file with CR/NL line endings
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-920
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-920
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.0.MR2
>         Environment: JBoss ESB - from svn 20070612
> drools-compiler-4.0.0.11754MR2.jar
> drools-core-4.0.0.11754MR2.jar
> drools-decisiontables-4.0.0.11754MR2.jar
> drools-jsr94-4.0.0.11754MR2.jar
>            Reporter: Len DiMaggio
>         Assigned To: Mark Proctor
>            Priority: Minor
>         Attachments: MyESBRules-XPath.drl.CRNL
>
>
> It's a non-fatal error:
> ERROR [STDERR] line 7:0 no viable alternative at character '\r' 
> The problem was first reported here:
>      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=110672

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list