Log in to reply
 

How do i fix xml syntax error in dlclist(OpenIV)?



  • Lately iv'e been modding adding things(add-on,weapons,player stuffs,etc)I have been getting errors when editing in the file called dlclist.xml in OpenIV.It says xml syntax error.Does anyone know how to fix this?

    Thanks!



  • @ChopIsMad when it says syntax error it will also say where the error is and move the cursor to the error. Where in the file is the problem occurring?



  • @InfiniteQuestion it said "XML Parsing error at line 1, col 1:
    Invalid at the top level of the document."



  • @ChopIsMad what does the top of you file say?



  • What do you mean by that what top of the file?



  • @ChopIsMad XML Parsing error at line 1, col 1

    What does the top of your file look like?



  • XML Syntax



  • @ChopIsMad ok since you seem to not understand at all, copy and past your Dlclist.



  • @ChopIsMad
    Copy the entire contents of your 'dlclist.xml' & paste it into your reply using a codeblock. Thanks :thumbsup:

    How to post a codeblock:

    ```xml
    Copy these three lines to a blank txt file, overwrite only this line with dlclist data, copy all & post into reply.
    ```



  • @InfiniteQuestion can it be a screenshot so i dont have to mess up something?



  • @ChopIsMad
    It's a lot better & easier to check if it's in a codeblock.
    Let's be honest :thinking:, if you can't copy & paste, modding is certainly not for you. :upside_down:

    Detailed Codeblock Instructions:

    • Copy these next three lines below (drag over the three text lines from right bottom to top left (to highlight them, three lines will go dark grey) & then hit 'Ctrl+C') :

    ```xml
    Copy these three lines to a blank txt file, overwrite only this line with dlclist data, copy all & post into reply.
    ```

    • Create a '.txt' file on your Desktop (right-click on Desktop > 'New' > 'Text Document')
    • Open the newly created 'New Text Document.txt' file & then paste the three lines into it ('Ctrl+V')
    • Open up 'dlclist.xml' in OpenIV by double-clicking it (opening with double-click means it's uneditable, so you can't do any harm to it)
    • Highlight all ('Ctrl +A') & then copy all ('Ctrl+C')
    • Back to your Desktop 'New Text Document.txt' file
    • Drag over the middle line (from right to left) to highlight it & only it & then hit 'Ctrl+V'
    • Once you've overwritten the middle line, hit 'Ctrl+A' (to highlight all text) & then 'Ctrl+C' (to copy all)
    • Back here in this thread, reply & then hit 'Ctrl+V' (to paste into post) & then '[Submit]' to post it.

    Follow those instructions exactly & you can't mess it up :thumbsup:


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.