Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid tei xml #502

Open
vvasuki opened this issue Apr 6, 2023 · 2 comments
Open

invalid tei xml #502

vvasuki opened this issue Apr 6, 2023 · 2 comments

Comments

@vvasuki
Copy link
Contributor

vvasuki commented Apr 6, 2023

Tried to open https://ambuda.org/proofing/shaangkr-vedaant-koshh/download/xml

and got

image

(Firefox browser)

@kvchitrapu
Copy link
Collaborator

kvchitrapu commented Apr 7, 2023

Looks like we may have other texts that don't have proper tei-xml. Here is another instance: https://ambuda.org/proofing/glossary-of-indian-figures-of-speech/download/xml

I plan to start work on TEI-XML next week.

@shreevatsa
Copy link
Contributor

In both the examples above (https://ambuda.org/proofing/shaangkr-vedaant-koshh/download/xml line 7529 column 246, and https://ambuda.org/proofing/glossary-of-indian-figures-of-speech/download/xml line 115 column 49), the issue seems to be an occurrence of a bare & in the text — XML insists that it should be escaped as &. So simply adding that escaping in the backend code will resolve these two errors at least.

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

No branches or pull requests

3 participants