michaelrsweet / mxml

Tiny XML library.
https://www.msweet.org/mxml
Apache License 2.0
428 stars 157 forks source link

Add file/line data in the tree #261

Closed aganm closed 2 months ago

aganm commented 4 years ago

I would like a way to retrieve the source file and line where data in a tree originates from (opaque values and attributes). I am not aware of a way to do that with mxml right now.

michaelrsweet commented 4 years ago

No, while Mini-XML has some limited information available when reporting errors, it does not track the location of nodes in the original file. As this is the first time I have received such a feature request in quite a few years, I'm guessing it is not something that most users of Mini-XML need.

I will keep this issue open as a potential "future" enhancement to Mini-XML, but unless more people express interest in such functionality I don't see implementing it...

michaelrsweet commented 2 months ago

Sorry, I haven't had any additional requests for this in almost 5 years - closing.