Skip to content
Prev 181032 / 398502 Next

XML parse error

Hi Kulwinder

There seems to be many points of confusion here
You appear to have added new files to the installation of the XML 
package, i.e. norel.xsd and LogCallSummary.bin into examplData.
They are not part of the regular XML package installation.

Because these are not part of the XML installation, we have no
idea what they contain.  The binary dump does not show us
the real content, just the sequence of bytes.

xmlParse() can read a regular XML file or a gzip compressed
file. But it cannot make sense of arbitrarily formatted
binary files.

So if you want help on your task, you might try to explain
where you started, and at a higher/more abstract level than
binary files.

So please give a reproducible example that we might be able to emulate.

  D.
kulwinder banipal wrote:
...00000f0: 0000 0001 0000 2325 0099 0100 0200 0000  ......#%........0000100: 0200 0023 2600 9901 0002 0000 0003 0000  ...#&...........0000110: 2327 0099 0100 0200 0000 0400 0023 2800  #'...........#(.0000120: 9901 0002 0000 0005 0102 0008 0100 0066  ...............f0000130: 6600 0055 5533 0000 0000 3400 0000 0a35  f..UU3....4....50000140: 0000 0014 3600 0000 1e37 0000 0028 3800  ....6....7...(8.0000150: 0000 3239 0000 003c 3a00 0000 463b 0000  ..29...<:...F;..0000160: 0050 3c00 0000 5a00 0088 8800 0077 7744  .P<...Z......wwD0000170: 0000 0000 4500 0000 0a46 0000 0014 4700  ....E....F....G.0000180: 0000 1e48 0000 0028 4900 0000 324a 0000  ...H...(I...2J..0000190: 003c 4b00 0000 464c 0000 0050 4d00 0000  .<K...FL...PM...00001a0: 5a02 2207 7766 6604 0500 0000 1100 0088  Z.".wff.........00001b0: 8800 0000 0106 0000 0011 0000 8889 0000  ................00001c0: 0011 0700 0000 1100 0088 8a00 0000 2108  ..............!.00001d0: 0000 0011 0000 888b 0000 0031 0405 0000  ...........1..
...00001e0: 0022 0000 0044 0000 0001 0600 0000 2200  ."...D........".00001f0: 0000 4500 0000 1107 0000 0022 0000 0046  ..E........"...F0000200: 0000 0021 0800 0000 2200 0000 4700 0000  ...!...."...G...0000210: 3106 0000 0001 0002 0003 0004 0005 0200  1...............0000220: 0033 4400 0055 6609 0101 0202 0303 0404  .3D..Uf.........0000230: 0505 0606 0707 0808 0909 0405 0000 0011  ................0000240: 0000 0044 0000 0022 0000 0088 0500 0000  ...D..."........0000250: 1200 0000 4500 0000 2300 0000 8905 0000  ....E...#.......0000260: 0013 0000 0046 0000 0024 0000 008a 0500  .....F...$......0000270: 0000 1400 0000 4700 0000 2500 0000 8bfa  ......G...%.....0000280: ae