Skip to content

Instantly share code, notes, and snippets.

@hicolour
Last active January 3, 2016 07:08
Show Gist options
  • Save hicolour/801ecc7f14f124c2e7f6 to your computer and use it in GitHub Desktop.
Save hicolour/801ecc7f14f124c2e7f6 to your computer and use it in GitHub Desktop.
smooks / xerces
org.milyn.smooks.scripting.groovy.ScriptedVisitorTest#test_templated_ext_05
Expected:
<shopping>
<category type="groceries">
<item>Luxury Chocolate</item>
<item>Luxury Coffee</item>
</category>
Result:
<shopping>
<category type="groceries">
<item>Luxury Chocolatete</item>
<item>Luxury Coffee</item>
</category>
.....
/home/marek/.m2/repository/org/milyn/milyn-smooks-core/1.6-SNAPSHOT/milyn-smooks-core-1.6-SNAPSHOT.jar!/org/milyn/delivery/dom/DOMParser.class
line
domReader.parse(createInputSource(source, executionContext.getContentEncoding()));
[<,s,h,o,p,p,i,n,g,>,
, , , , ,<,c,a,t,e,g,o,r,y, ,t,y,p,e,=,",g,r,o,c,e,r,i,e,s,",>,
, , , , , , , , ,<,i,t,e,m,>,C,h,o,c,o,l,a,
main@1, prio=5, in group 'main', status: 'RUNNING'
at org.apache.xerces.parsers.AbstractSAXParser.characters(Unknown Source:-1)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source:-1)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source:-1)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source:-1)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source:-1)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source:-1)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source:-1)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source:-1)
at org.milyn.delivery.dom.DOMParser.parse(DOMParser.java:150)
at org.milyn.delivery.dom.DOMParser.parse(DOMParser.java:94)
at org.milyn.delivery.dom.SmooksDOMFilter.filter(SmooksDOMFilter.java:290)
at org.milyn.delivery.dom.SmooksDOMFilter.doFilter(SmooksDOMFilter.java:243)
at org.milyn.delivery.dom.SmooksDOMFilter.doFilter(SmooksDOMFilter.java:216)
at org.milyn.Smooks._filter(Smooks.java:526)
at org.milyn.Smooks.filterSource(Smooks.java:482)
at org.milyn.Smooks.filterSource(Smooks.java:456)
at org.milyn.smooks.scripting.groovy.ScriptedVisitorTest.test_templated_ext_05(ScriptedVisitorTest.java:149)
at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-1)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at junit.framework.TestResult$1.protect(TestResult.java:122)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at junit.framework.TestResult.run(TestResult.java:125)
at junit.framework.TestCase.run(TestCase.java:129)
at junit.framework.TestSuite.runTest(TestSuite.java:255)
at junit.framework.TestSuite.run(TestSuite.java:250)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:202)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:65)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment