Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SAX Parser

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
SAX parsers are free to do that. See the answer to your other question.
 
Get me the mayor's office! I need to tell him about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic