FORUM ARCHIVED

Help with the monDB.xml file

Discussion in 'Modding' started by MiniGremlin, Jul 29, 2012.

  1. MiniGremlin

    MiniGremlin Member

    As the title says I need some help with the monDB.xml file.
    I keep getting this error:
    error on line 3 at column 24: attributes construct error

    This is where I need your help.
    I cannot find the error and here is my code.


    Any help is greatly appreciated.
     
  2. Kazeto

    Kazeto Member

    Code:
            <idleSprite left="sprites/monster/NomNoms_run_l.xml" right="sprites/monster/NomNoms_run_r.xml up="sprites/monster/NomNoms_run_u.xml" down="sprites/monster/NomNoms_run_r.xml" />
    Change it to this:
    Code:
            <idleSprite left="sprites/monster/NomNoms_run_l.xml" right="sprites/monster/NomNoms_run_r.xml" up="sprites/monster/NomNoms_run_u.xml" down="sprites/monster/NomNoms_run_r.xml" />
    And in the future, use Glazed's validator, or any other validator - that kind of is a basic mistake.
     
  3. MiniGremlin

    MiniGremlin Member

    Thanks you!
    Those dang quotation marks.
     
  4. BigStuuu

    BigStuuu Member

    A piece of advice, use some kind of xml editor that supports code colouring, I personally use notepad++, but there are literally hundreds out there.

    With code colouring quotation mark errors, and errors when forgetting to close tags stick out like a sore thumb