This is a rather platform specific solution, but could you use a ram disk to hold your schema file. On most Linux distributions, files written in /dev/shm are stored in RAM, and not written to disk. I believe Mac OS and Windows have similar functionality (possibly through 3rd party programs). ________________________________ From: Pirow Engelbrecht <[email protected]> Sent: Monday, October 7, 2019 7:40 AM To: [email protected] <[email protected]> Subject: Daffodil Compiler Java API
Hello, We have a Daffodil schema that exist as a Java String. We would like to compile this schema, but there are only two methods that exist for the Daffodil compiler API: compileFile and compileSource. We would like to sidestep disk access as this slows things down. CompileSource uses a URI reference to retrieve the schema and is not quite what we need. Is there any other methods or workarounds available? Thanks Pirow Engelbrecht | Senior Design Engineer Tel +27 12 678 9740 (ext. 9879) | Cell +27 63 148 3376 76 Regency Drive | Irene | Centurion | 0157<https://goo.gl/maps/v9ZbwjqpPyL2> [create-transition]<https://etion.co.za/> Facebook<https://www.facebook.com/Etion-Limited-2194612947433812?_rdc=1&_rdr> | YouTube<https://www.youtube.com/channel/UCUY-5oeACtLk2uTsEjZCU6A> | LinkedIn<https://www.linkedin.com/company/etionltd> | Twitter<https://twitter.com/Etionlimited> | Instagram<https://www.instagram.com/Etionlimited/>
