invalid markdown table data?

8 views
Skip to first unread message

Andy Dingfelder

unread,
Oct 8, 2018, 11:22:44 PM10/8/18
to concordion
Hi

I'm doing a table in markdown (under intellij) and am seeing something strange:

If one of my table cells contains the some data that starts with an underscore e.g.    _someString
it gives the error below.  (changing this value to not start with an _ makes the problem go away, but I require the _ to be there

Is this a known issue?

The <table> 'execute' command only supports rows with an equal number of columns. Detail row 1 has a different number of columns to the last header row
java.lang.RuntimeException: The <table> 'execute' command only supports rows with an equal number of columns. Detail row 1 has a different number of columns to the last header row
at org.concordion.internal.command.executeCommand.modificationStrategies.ExecuteCommandTableModification.performModification(ExecuteCommandTableModification.java:57)
at org.concordion.internal.command.executeCommand.ExecuteCommand.modifyCommandCallTree(ExecuteCommand.java:26)
at org.concordion.api.AbstractCommandDecorator.modifyCommandCallTree(AbstractCommandDecorator.java:40)
at org.concordion.api.AbstractCommandDecorator.modifyCommandCallTree(AbstractCommandDecorator.java:40)
at org.concordion.api.CommandCall.modifyTree(CommandCall.java:132)
at org.concordion.api.CommandCall.modifyTree(CommandCall.java:137)
at org.concordion.internal.DocumentParser.modifyCommandCallTree(DocumentParser.java:50)
at org.concordion.internal.DocumentParser.parse(DocumentParser.java:45)
at org.concordion.internal.XMLSpecificationReader.readSpecification(XMLSpecificationReader.java:43)
at org.concordion.Concordion.loadSpecificationFromResource(Concordion.java:104)
at org.concordion.Concordion.getSpecification(Concordion.java:71)
at org.concordion.Concordion.hasExampleCommands(Concordion.java:86)
at org.concordion.Concordion.checkValidStatus(Concordion.java:120)
at org.concordion.integration.junit4.ConcordionRunner.<init>(ConcordionRunner.java:69)
at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:78)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38)
at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:117)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137)
at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:748)

Andy Dingfelder

unread,
Oct 8, 2018, 11:28:00 PM10/8/18
to concordion
looks like you can escape the _ using a \ char, but this should probably be documented somewhere :) 

Nigel Charman

unread,
Oct 14, 2018, 3:32:23 AM10/14/18
to conco...@googlegroups.com
Hi, escaping underscores is a standard Markdown requirement if you want it to be represented as an underscore. See https://stackoverflow.com/questions/35827838/how-to-show-underscores-symbol-in-markdown for example. So I don't plan to document this, since we would end up documenting the whole Markdown spec.

Sorry for the delayed response.
--
You received this message because you are subscribed to the Google Groups "concordion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to concordion+...@googlegroups.com.
To post to this group, send email to conco...@googlegroups.com.
Visit this group at https://groups.google.com/group/concordion.
To view this discussion on the web, visit https://groups.google.com/d/msgid/concordion/b883098e-b50f-4bde-8b89-52f761ce6b2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages