Skip to content

Store line numbers and CDATA on Element#63

Merged
kazuhiro4949 merged 4 commits intoyahoojapan:masterfrom
stevelandeyasana:line-numbers
Sep 5, 2021
Merged

Store line numbers and CDATA on Element#63
kazuhiro4949 merged 4 commits intoyahoojapan:masterfrom
stevelandeyasana:line-numbers

Conversation

@stevelandeyasana
Copy link
Copy Markdown
Contributor

@stevelandeyasana stevelandeyasana commented Sep 1, 2021

I added three new properties: Element.lineNumberStart, Element.lineNumberEnd, and Element.CDATA. I'm building a tool that reports errors in XML files and I need to be able to report the line number so the user can find the error.

I also made some changes that make the tests run in a Swift Package Manager context. I believe they will continue to work as they were before; the only difference is I'm using a path-based lookup based on the unit test file instead of Bundle.

@stevelandeyasana

This comment has been minimized.

@stevelandeyasana stevelandeyasana changed the title Store line numbers on Element Store line numbers and CDATA on Element Sep 1, 2021
@kazuhiro4949
Copy link
Copy Markdown
Member

Thanks!

@kazuhiro4949 kazuhiro4949 merged commit eec238e into yahoojapan:master Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants