Actions
Bug #5821
openFeature request: allow xml_file for parse_xml, etc.
Start date:
2023-01-16
Due date:
% Done:
0%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
Fixed in version:
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
The click
Python library allows me to declare that the input parameter or argument is an existing file. When I do, what I get as an argument is the opened file. It would be nice to be able to pass that directly to parse_xml
, etc.
Updated by O'Neil Delpratt almost 2 years ago
Yes I agree that would be nice to have. Added on the todo list.
Updated by O'Neil Delpratt almost 2 years ago
parse_xml 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
Please register to edit this issue
Actions