EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-24-2005, 06:30 PM
Aeroslin's Avatar
Aeroslin Aeroslin is offline
A Brown Bear
 
Join Date: Mar 2005
Server: Antonia Bayle
Posts: 8
Default XML Editing

In EQ1 I was more comfortable editing the XML files using a text editor. I could keep the code clean and easy to read as well as have explicit control over the data I was working with (and yes dealing with typos to).

I've tried the same track with the EQ2 xml files and I'm finding them to be a complete mess, the type of mess you get when using a wysiwyg style editor that doesn't write clean code.

I'm not using Notepad to edit the source files. I'm using a program called Jext which works quite well to interpret all of the data that's been written into the file. I've found something that I'm curious about with these xml files and that is what appears to be some binary or non-writable data at the very beginning of each of the default files and even the modded files that I've downloaded.

These three bytes are the same for each file,
Code:

or hex values, "EF BB BF". From my experience this looks like file corruption and should under most circumstances cause the xml to be badly formed.

Has anyone else noticed this?
Reply With Quote
  #2  
Unread 03-24-2005, 06:49 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Yeah.

They don't affect anything, so I ignore em.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #3  
Unread 03-24-2005, 08:50 PM
Aeroslin's Avatar
Aeroslin Aeroslin is offline
A Brown Bear
 
Join Date: Mar 2005
Server: Antonia Bayle
Posts: 8
Default

I removed them from all of the xml files in my scratch folder and my custom ui folder and it didn't change anything functionally when I played. Guess I'll just leave it alone.
Reply With Quote
  #4  
Unread 03-24-2005, 08:55 PM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

They define the format of text file. If you open one of the XMLs with WordPad (as opposed to NotePad) it'll screw up the format when you save if you didn't strip them out with NotePad (or a hex editor, etc.) beforehand.

Quib
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:31 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI