# xml database injector broken again

**URL:** <https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909>\
**Category:** Quake\
**Created:** [December 24, 2021, 6:01pm UTC](https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909 "2021-12-24T18:01:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest1](https://discuss.quaddicted.com/letter_avatar/guest1/32/5_e30499b05c07943df9b13d07c8c32459.png) [@Guest1](https://discuss.quaddicted.com/u/Guest1)\
**Post date:** [December 24, 2021, 6:01pm UTC](https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909/1 "2021-12-24T18:01:15Z")

</div>

As subject.

Cheers.

---

<div class="post-metadata">

**Author:** ![Spirit](https://discuss.quaddicted.com/user_avatar/discuss.quaddicted.com/spirit/32/6_2.png) [@Spirit](https://discuss.quaddicted.com/u/Spirit)\
**Post date:** [December 24, 2021, 11:27pm UTC](https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909/2 "2021-12-24T23:27:10Z")

</div>

works fine here?

---

<div class="post-metadata">

**Author:** ![Guest1](https://discuss.quaddicted.com/letter_avatar/guest1/32/5_e30499b05c07943df9b13d07c8c32459.png) [@Guest1](https://discuss.quaddicted.com/u/Guest1)\
**Post date:** [December 25, 2021, 5:19pm UTC](https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909/3 "2021-12-25T17:19:39Z")

</div>

Works now.

Cheers.

---

<div class="post-metadata">

**Author:** ![Guest1](https://discuss.quaddicted.com/letter_avatar/guest1/32/5_e30499b05c07943df9b13d07c8c32459.png) [@Guest1](https://discuss.quaddicted.com/u/Guest1)\
**Post date:** [February 22, 2022, 8:57am UTC](https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909/4 "2022-02-22T08:57:14Z")

</div>

Hi,

Broken again today at lineNumber: 29205; columnNumber: 23

The xml file should be linted/checked before uploading to avoid this common problem.

Cheers.

---

<div class="post-metadata">

**Author:** ![radiatoryang](https://discuss.quaddicted.com/letter_avatar/radiatoryang/32/5_e30499b05c07943df9b13d07c8c32459.png) [@radiatoryang](https://discuss.quaddicted.com/u/radiatoryang)\
**Post date:** [February 22, 2022, 11:10am UTC](https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909/5 "2022-02-22T11:10:09Z")

</div>

My bad. I put ‘&’ instead of ‘&’ … should be fixed now.

---

<div class="post-metadata">

**Author:** ![Spirit](https://discuss.quaddicted.com/user_avatar/discuss.quaddicted.com/spirit/32/6_2.png) [@Spirit](https://discuss.quaddicted.com/u/Spirit)\
**Post date:** [February 22, 2022, 11:24am UTC](https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909/6 "2022-02-22T11:24:08Z")

</div>

It’s a rite of passage 😉

---

<div class="post-metadata">

**Author:** ![Spirit](https://discuss.quaddicted.com/user_avatar/discuss.quaddicted.com/spirit/32/6_2.png) [@Spirit](https://discuss.quaddicted.com/u/Spirit)\
**Post date:** [February 22, 2022, 11:27am UTC](https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909/7 "2022-02-22T11:27:16Z")

</div>

qk: It’s created on demand, but yeah it should be smarter. If you know php and can manage 10+ year old spaghetti, it would be great if [https://github.com/SpiritQuaddicted/Quaddicted-reviews/blob/master/quakeinjectorxml.php](https://github.com/SpiritQuaddicted/Quaddicted-reviews/blob/master/quakeinjectorxml.php) would automatically turn UTF-8 input from the db into properly encoded XML CDATA(?) stuff.  
I’d batch replace all the existing HTML entities in the DB then.

---

<div class="post-metadata">

**Author:** ![Guest1](https://discuss.quaddicted.com/letter_avatar/guest1/32/5_e30499b05c07943df9b13d07c8c32459.png) [@Guest1](https://discuss.quaddicted.com/u/Guest1)\
**Post date:** [February 22, 2022, 1:47pm UTC](https://discuss.quaddicted.com/t/xml-database-injector-broken-again/2909/8 "2022-02-22T13:47:08Z")

</div>

Hi,

Thanks @radiator for the quick fix.

@Spirit, sometimes I am afraid of touching some of my old code so I have to decline your invitation.

BTW, wouldn’t it be better to run a command line tool once the generation is done? This way you/I don’t have to eat such amount of old pasta and it is easy to check the return code to avoid uploading the xml to the site in case it is broken.

Cheers.
