https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2023-01-16T15:57:56ZSaxonica Developer CommunitySaxonC - Bug #5821: Feature request: allow xml_file for parse_xml, etc.https://saxonica.plan.io/issues/5821?journal_id=225372023-01-16T15:57:56ZO'Neil Delprattoneil@saxonica.com
<ul></ul><p>Yes I agree that would be nice to have. Added on the todo list.</p> SaxonC - Bug #5821: Feature request: allow xml_file for parse_xml, etc.https://saxonica.plan.io/issues/5821?journal_id=225462023-01-16T23:51:39ZO'Neil Delprattoneil@saxonica.com
<ul></ul><p><em>parse_xml</em> internally calls the C++ code which in turn calls a Java method to parse the XML. I am not yet sure how this would work if we had a File object. Internally we could read the file to string or get the file name then pass this data to the C++ code. This does not seem ideal to me</p>