igarashitm commented on PR #17563: URL: https://github.com/apache/camel/pull/17563#issuecomment-2751456079
@davsclaus Thank you for the review! At first I wondered if fixed-format <-> XML fits to marshal/unmarshal as both are sort of marshalled data, but I tried and it has fit eventually - taking fixed-format as a marshalled data and XML DOM Document as an object. Now I hit an issue on the dataformat testcase, while `DfdlEndpoint` can resolve the schema file in the classpath in `doInit()`, `DfdlDataFormat` fails to resolve the schema file in `doInit()`. I also tried `doStart()` but it was a same error. https://github.com/apache/camel/pull/17563/files#diff-c61d4f1299964f3aa480d87cf5760ed49dc2c7a9f4d83a8a91f3fa3710049271R85 For some reason, `org.apache.camel.spi.Resource#getURI()` resolved with `ResourceHelper` returns `null` ``` Caused by: java.lang.NullPointerException: Cannot invoke "java.net.URI.getScheme()" because "uri" is null at org.apache.daffodil.lib.util.Misc$.uriToDiagnosticFile(Misc.scala:729) at org.apache.daffodil.japi.Compiler.compileSource(Daffodil.scala:169) at org.apache.daffodil.japi.Compiler.compileSource(Daffodil.scala:156) at org.apache.camel.dataformat.dfdl.DfdlDataFormat.doInit(DfdlDataFormat.java:85) ``` Is there any difference between Endpoint `doInit()` and DataFormat `doInit()` on resolving classpath resource? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org