CyberD.org
C:\ Home » Blog » Tech » Numbers In XML Tags

Numbers In XML Tags

I created a simple script in which you could interact with an AI through a chat a few years ago. All phrases and questions were stored in an XML document, but suddenly I ran into some trouble, the script just wouldn't work. I remember I spent quite some time trying to find errors in the code structure, but I never found it, so the work was discontinued and stashed away. I picked it back up again today and it turns out I had been using numbers at the start of a series of XML tags. If you work with XML you should know that tags can't start with a number, so I've been doing some restructuring, and hey, it works again! Check out the script in the stuff directory. Or you could just click this link. The vocabulary is still a bit limited, but at least it works. :)

Comments

Keep track of the discussion via rss? Read about comment etiquette? Or type in something below!
This was pretty damn interesting. And yet, nobody's spoken! Be the first!


The Comment Form

Your email address will not be published. Required fields are marked *

Your email is saved only to approve your future comments automatically (assuming you really are a human). ;) It's not visible or shared with anyone. You can read about how we handle your info here.

Question   Razz  Sad   Smile  Redface  Biggrin  Surprised  Eek   Confused   Cool  Mad   Twisted  Rolleyes   Wink  Idea  Neutral

Privacy   Copyright   Sitemap   Statistics   RSS Feed   Valid XHTML   Valid CSS   Standards

© CyberD.org 2022
Keeping the world since 2004.