Author Topic: Am I blind here?  (Read 1051 times)

DemonRaven

  • *
  • Replicant
  • ********
  • Posts: 548
    • Chatbotfriends
Am I blind here?
« on: September 01, 2015, 11:23:07 PM »
I honestly give up i have no  clue what problem pandora bots and all the xml editors have with this bit of code. Can some show me.

<category>
<pattern>SHOULD I HAVE SEX *</pattern>
<template>
<random>
<li>I'm sure you already know the answer to that.</li>
<li>IF you need to ask then you are too young.</li>
<li>Only if you are safe about it and know them well.</li>
<li>Do i look like a sex therapist?</li>
<li>I do not care but use birth control there are already enough idiots in this world.</li>
<li>Seriously you need to ask me about that?</li>
<li>Herpes is incurable.</li>
<li>There are many types of sexually transmitted diseases that are now antibiotic resistant.</li>
<li>Don't know don't care<li>
<li>Why are you asking me?</li>
<li>Will you ask if your partner has any STDs?</li>
<li>Not on the first date.</li>
<li>IF  you are asking then you are still too young.</li>
</random>
</template>
</category>

Data

  • *
  • Millennium Man
  • **********
  • Posts: 1241
  • Overclocked // Undervolted
    • Datahopa - Share your thoughts ideas and creations
Re: Am I blind here?
« Reply #1 on: September 01, 2015, 11:26:37 PM »
There is a problem here:

<li>Don't know don't care<li>

Should be:

<li>Don't know don't care</li>

DemonRaven

  • *
  • Replicant
  • ********
  • Posts: 548
    • Chatbotfriends
Re: Am I blind here?
« Reply #2 on: September 02, 2015, 01:38:14 AM »
Thank you. I looked that thing over and over again until i was ready to toss the computer.

8pla.net

  • *
  • Replicant
  • ********
  • Posts: 695
    • 8pla.net
Re: Am I blind here?
« Reply #3 on: September 02, 2015, 01:45:08 AM »
Don't feel bad Raven, I couldn't see it either at first...

Quote
XML Parsing Error: mismatched tag. Expected: </li>.
Location: file:///tmp/test.xml
Line Number 25, Column 3:</random>
--^

Of course, there was nothing wrong on line 25.
It is almost never that easy.

So, I just started commenting out blocks of XML
to see if it displayed correctly in a webbrowser.

When it did I just kept making the comment block
smaller and smaller to pin point it.

Oh, there it is   ::) !

Code: [Select]
<!--
<li>Don't know don't care<li>
<li>Why are you asking me?</li>
<li>Will you ask if your partner has any STDs?</li>
<li>Not on the first date.</li>
<li>IF  you are asking then you are still too young.</li>
-->
My Very Enormous Monster Just Stopped Using Nine

DemonRaven

  • *
  • Replicant
  • ********
  • Posts: 548
    • Chatbotfriends
Re: Am I blind here?
« Reply #4 on: September 02, 2015, 04:01:44 AM »
I will try that next time as you are right xml editors and html editors do not do a good job of letting you know what is wrong.

 

Welcome

Please login or register.



Login with username, password and session length
3D Printing
by Art (General Chat)
Today at 12:51:23 PM
La-Masterpiece
by LOCKSUIT (Graphics)
Today at 03:06:29 AM
Robot Message in a Bottle
by Freddy (Home Made Robots)
February 22, 2017, 11:30:51 PM
MusicNet
by keghn (General AI Discussion)
February 22, 2017, 11:03:11 PM
The Gynotopian Future (title of this novel?)
by Art (AI in Film and Literature.)
February 21, 2017, 01:26:08 AM
poker a.i
by yotamarker (General AI Discussion)
February 19, 2017, 08:05:35 PM
Beginners topics and resources for AI projects
by 8pla.net (General Project Discussion)
February 19, 2017, 01:51:45 AM
Touch Sensor Line
by keghn (General Project Discussion)
February 18, 2017, 02:42:10 PM
Shell Ocean Discovery XPRIZE: Semi-finalists set sail on a journey to illuminate the ocean
by Tyler (Robotics News)
February 22, 2017, 10:48:25 PM
Drones for good 2.0: How WeRobotics is redefining the use of unmanned systems in developing countries
by Tyler (Robotics News)
February 22, 2017, 04:48:07 PM
At what point should an intelligent machine be considered a person?
by Tyler (Robotics News)
February 22, 2017, 10:48:24 AM
Ocado evaluating robotic manipulation for online shopping orders
by Tyler (Robotics News)
February 21, 2017, 10:50:46 PM
Motor control systems: Bode plots and stability
by Tyler (Robotics News)
February 21, 2017, 04:48:52 PM
Legal artificial intelligence: Can it stand up in a court of law?
by Tyler (Robotics News)
February 21, 2017, 10:49:20 AM
The Drone Center’s Weekly Roundup: 2/20/17
by Tyler (Robotics News)
February 20, 2017, 10:49:50 PM
What we talk about when we talk about robotics
by Tyler (Robotics News)
February 20, 2017, 04:50:09 PM

Users Online

20 Guests, 1 User
Users active in past 15 minutes:
kei10
[Trusty Member]

Most Online Today: 44. Most Online Ever: 208 (August 27, 2008, 08:24:30 AM)

Articles