Quantcast
Viewing all articles
Browse latest Browse all 75076

babel.bat error with ~ by clyde - 2013-11-27

QUOTE (de zaaiers @ November 27, 2013 05:36 pm)
and the 2 command line parameters xmlwf.exe receives are:
1. the file to process;
2. the file the result should be written in (= the data.txt)?

Yes.

After running the babel.bat file that contains this line of code we then test the contents of the data.txt file.

If it is empty we know the file is well formed and we then continue to process it.

If it is NOT empty, we know the file is bad and GSAK will throw an error and indicate it will not process the file at all. For example, I purposely changed a file so it was malformed and tried to load it. Here is the message that GSAK throws:

Image may be NSFW.
Clik here to view.
user posted image


The 18:26 means that the first problem found begins on line 18 character 26

In this particular case I created a rather "soft" error and inserted a & (ampersand) into the data as the line 18 looks like:

CODE
   <urlname>Money Maze by & mo_town_man</urlname>


This creates invalid XML as the & must be encoded and should be &amp; to make the data well formed.

Viewing all articles
Browse latest Browse all 75076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>