Re: structuring pull parsing code and using serializer [Re: [xmlpull-user] Java <-> XML using XMLPull]

Aleksander Slominski <[email protected]> Thu, 27 Feb 2003 01:40:05 -0500
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
Naresh Bhatia wrote:

> Great stuff!

> Just what I needed! I am starting to integrate the concepts into my 
> application. I will post if I have need any clarification.

good to hear this :-)
 

> One quick question. In your MyAddressBook class, you have lines with 
> asserts in them. For example:
>  
>     assert parser.getEventType() == parser.START_TAG;

>  
> What is this? Some external processor to use asserts? These lines are 
> not compiling.

just delete it (it should not be there uncommented) - it can only be 
compiled and executed using JDK 1.4

to learn more about assert in JDK 1.4 check:
http://java.sun.com/j2se/1.4/docs/guide/lang/assert.html#compiling
http://java.about.com/library/tutorials/bltut-014-1.htm

thanks,

alek



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/2U_rlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/