decodeXmlFile leaving file open
Bug #1089210 reported by
Jesse Phillips
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
D Programming language Xml modules |
New
|
Undecided
|
michaelrynn |
Bug Description
Line 96 of slicedoc.d opens a file as a stream but never closes it. This arrises as an issue from attempting to delete a file after parsing on Windows.
Suggest
97 scope(exit) s.close();
To post a comment you must log in.
See version 88.
Started out ensuring stream close() on eof detection, and changes have snowballed and rolled over the cliff. Currently all development files now in xml package root, and parsers / dom are mostly templates and template classes using character type.
The std.xmlp is not quite abandoned. There is now some back-port mess cleanup, unfinished, which hopefully will be soon tidied and test verified, then pushed up. Future development in the xml package root.