Bookmark Topic Watch Topic
  • New Topic

SAX Parser  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Thanks in advance .
I have a program which reads a xml file .
xml file content
<Def>
- <comp>
<name>Validation29</name>
<Err>B17</Err>
- <validationInput>
<ValidatorCalledAt>OrgnlGrpInf_OrgnlMsgId_</ValidatorCalledAt>
<ValidatorCalledFor>OrgnlGrpInf_OrgnlMsgId_</ValidatorCalledFor>
</validationInput>
<businessValidationClass>Validator00</businessValidationClass>
</comp>
</Def>


whenever the character method of content handler is invoked to read the content of tag businessValidationClass it read as two different values for ex. Validator0 and 0 , but if i move the line above the tag validationInput, the value is read correctle, can anyoune help me why the parser is unable to read the string completely
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
SAX parsers are free to do that. See the answer to your other question.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!