Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Caster

 
Adrian Kovacs
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem using the Caster on the following XML file. Please help.
It seems to go all wrong in the second <field> tag in the second section. It seems to recognise the second field tag as a tag inside the first field tag.
<export>
<section>
<name>test</name>
<file>1.new</file>
<field name="client_shortname" type="CSF" width="?"></field>
</section>
<section>
<name>test2</name>
<file>1.new 2</file>
<field name="client_shortnameasdfasdfasdf" type="CSFasdfasdf" width="?" />
<field name="HEPL" type="ERROR" width="?" />
</section>
<section>
<name>test3</name>
<file>1.new 3</file>
<field name="ddddddddf" type="CSFasdfasdf" width="?" />
</section>
</export>
Any suggestions? thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic