ambuda icon indicating copy to clipboard operation
ambuda copied to clipboard

invalid tei xml

Open vvasuki opened this issue 1 year ago • 2 comments

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

and got

image

(Firefox browser)

vvasuki avatar Apr 06 '23 12:04 vvasuki

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.

kvchitrapu avatar Apr 07 '23 18:04 kvchitrapu

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.

shreevatsa avatar Apr 08 '23 06:04 shreevatsa