#5 xml Files in DOS Format do not Parse.

open
nobody
core (19)
5
2006-12-07
2006-12-07
Anonymous
No

Hi:

In the released version "1.4.0pre" Windows install any xml file that is created on the PC is not readable by Seagull on startup. The following error message is displayed:

"Seagull Diameter Server Sample Start"
]E|lexical error : unknown token [
] on line [16]r [syntax error] near [
|E|Syntax error on file [../config/tazznetworksE4.xml] near line [16]
|A|STOP log
Press any key to continue . . .

On a PC a DOS text file's line is terminated by two characters - CR LF. While on UNIX systems a line is terminated by just a LF.

In this situation I was using one of the sample Diameter xml dictionaries but had modified it on the PC. I have attached the file in question and if you do a octal or hex dump of the file and compare the line terminations to a UNIX file you will see what I mean.

The work around is to convert the file back to an UNIX format (ie LF terminated lines).

Regards,
Rodger Lucas
rlucas@tazznetworks.com

Discussion

  • Dictionary File in DOS format.

     
    Attachments