QDox
  1. QDox
  2. QDOX-230

Illegal escape character '|'

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.12
    • Fix Version/s: None
    • Component/s: Parser
    • Labels:
      None
    • Number of attachments :
      0

      Description

      escaped pipe was not processed correctly

      Exception in thread "main" com.thoughtworks.qdox.parser.ParseException: Illegal escape character '|' @[25,28] in file://org.apache.camel_trunk/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/simple/pipeline/MyData.java
      	at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:1018)
      	at com.thoughtworks.qdox.parser.impl.Parser.convertString(Parser.java:1126)
      	at com.thoughtworks.qdox.parser.impl.Parser.toString(Parser.java:1233)
      	at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:1800)
      	at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:999)
      	at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:353)
      	at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:381)
      	at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:377)
      	at com.thoughtworks.qdox.JavaDocBuilder$2.visitFile(JavaDocBuilder.java:467)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:43)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk(DirectoryScanner.java:34)
      	at com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan(DirectoryScanner.java:52)
      	at com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:464)
      	at com.thoughtworks.qdox.JavaDocBuilder.addSourceTree(JavaDocBuilder.java:453)
      

      from source

       17 package org.apache.camel.dataformat.bindy.model.simple.pipeline;
       18 
       19 import org.apache.camel.dataformat.bindy.annotation.CsvRecord;
       20 import org.apache.camel.dataformat.bindy.annotation.DataField;
       21 
       22 /**
       23  * @version 
       24  */
       25 @CsvRecord(separator = "\\|")
       26 public class MyData {
       27 
       28     @DataField(pos = 1)
       29     private String col1;
       30 
       31     @DataField(pos = 2)
       32     private String col2
      

        Issue Links

          Activity

          Hide
          Robert Scholte added a comment -

          This is a duplicate of QDOX-218. Read that issue to see the problem and how it's fixed.

          Show
          Robert Scholte added a comment - This is a duplicate of QDOX-218 . Read that issue to see the problem and how it's fixed.
          Robert Scholte made changes -
          Field Original Value New Value
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Robert Scholte [ rfscholte ]
          Resolution Duplicate [ 3 ]
          Robert Scholte made changes -
          Link This issue duplicates QDOX-218 [ QDOX-218 ]

            People

            • Assignee:
              Robert Scholte
              Reporter:
              Lars K. W. Gohlke
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: