Hi,
I have a valid XML-File. During parsing this file I get NAT8311 Error.
At least I found the errors, but I can’t explain the errors. Maybe someone else here can.
XML-File
<?xml version="1.0" encoding="UTF-8"?>
...
<rb:numerischesBasisdatum ao:Name="STENDEM">34</rb:numerischesBasisdatum>
<rb:numerischesBasisdatum ao:Name="STENDEW">34</rb:numerischesBasisdatum>
...
<rb:TabellenEintrag>
<rb:Tabelle xsi:type="ao:Sterbetafel" ao:Kommutationswert="alpha" ao:Geschlecht="m" ao:Startalter="0" ao:Name="PK001426" />
</rb:TabellenEintrag>
<rb:TabellenEintrag>
<rb:Tabelle xsi:type="ao:Sterbetafel" ao:Kommutationswert="alpha" ao:Geschlecht="w" ao:Startalter="0" ao:Name="PK001771" />
</rb:TabellenEintrag>
...
- First Error occurs while Parsing
<rb:numerischesBasisdatum ao:Name="STENDEM">34</rb:numerischesBasisdatum>
After Changing this to
<rb:numerischesBasisdatum ao:Name="STENDEM" >34</rb:numerischesBasisdatum>
everything works find (Hint: I put a space after “STENDEM”).
- Second Error is the other way around:
After changing XML-File from
to
everything works find (Hint: I deleted the space after “PK001426”).
This is really strange, but maybe someone can explain it.