Am I blind here?

  • 4 Replies
  • 4847 Views
*

DemonRaven

  • Trusty Member
  • ********
  • Replicant
  • *
  • 630
  • Disclaimer old brain @ work not liable for content
    • Chatbotfriends
Am I blind here?
« on: September 02, 2015, 12:35:07 am »
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>
So sue me

*

Data

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1279
  • Overclocked // Undervolted
    • Datahopa - Share your thoughts ideas and creations
Re: Am I blind here?
« Reply #1 on: September 02, 2015, 12:38:37 am »
There is a problem here:

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

Should be:

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

*

DemonRaven

  • Trusty Member
  • ********
  • Replicant
  • *
  • 630
  • Disclaimer old brain @ work not liable for content
    • Chatbotfriends
Re: Am I blind here?
« Reply #2 on: September 02, 2015, 02:50:14 am »
Thank you. I looked that thing over and over again until i was ready to toss the computer.
So sue me

*

8pla.net

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1307
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Re: Am I blind here?
« Reply #3 on: September 02, 2015, 02:57: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
<!--
<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

  • Trusty Member
  • ********
  • Replicant
  • *
  • 630
  • Disclaimer old brain @ work not liable for content
    • Chatbotfriends
Re: Am I blind here?
« Reply #4 on: September 02, 2015, 05:13: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.
So sue me

 


Project Acuitas
by WriterOfMinds (General Project Discussion)
November 30, 2024, 01:32:29 am
Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

429 Guests, 0 Users

Most Online Today: 455. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles