Search the web
Sign In
New User? Sign Up
xmlpull-user
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
RFC: XmlPull API 1.2   Message List  
Reply | Forward Message #284 of 308 |
hi,

it is some time we did any modification to XmlPull API 1.1 (it is
remarkably stable) but there are few minor issues and improvements
recorded over years (and J2ME devices get bigger memory nowadays ...) so
it looks like good time for incremental release i.e. 1.2

based on list of issues and improvements (RFE) in bugzilla two stands out:

1) http://www.extreme.indiana.edu/bugzilla/show_bug.cgi?id=167
skipSubTree() looks like a very useful method to have implemented in
parser (skipping can be fast) - that would add to XmlPullParser method:
/**
* Skip sub tree on which the parser is currently positioned on.
* <br>NOTE: parser must be on START_TAG and when function returns
* parser will be positioned on matching END_TAG
*
* This method is typically optimized by parser but the its logic
should follow this:
* <code>
* require(XmlPullParser.START_TAG, null, null);
* int level = 1;
* while(level > 0) {
* int eventType = next();
* if(eventType == XmlPullParser.END_TAG) {
* --level;
* } else if(eventType == XmlPullParser.START_TAG) {
* ++level;
* }
* }
* </code>
*/
public void skipSubTree() throws XmlPullParserException, IOException;



2) http://www.extreme.indiana.edu/bugzilla/show_bug.cgi?id=240
this is long standing issue related to how setPrefix() works and how it
should be working more like xmlns:pref='...' (so digital signatures code
works well) - that would add to XmlSerializer three new methods with
prefix as an argument:

public XmlSerializer startTag (String prefix, String namespace, String
name)
public XmlSerializer endTag (String prefix, String namespace, String name)
public XmlSerializer attribute (String prefix, String namespace, String
name, String value)

if there are any other issues/improvements/etc please let us know (send
email to xmlpull-dev and log the issues in bugzilla)

both XPP3/5 and kXML2 plan to implement soon XmlPull API 1.2

thanks,

Alek Slominski (& Stefan Haustein)




Wed Nov 29, 2006 6:21 pm

as10m
Offline Offline
Send Email Send Email

Forward
Message #284 of 308 |
Expand Messages Author Sort by Date

hi, it is some time we did any modification to XmlPull API 1.1 (it is remarkably stable) but there are few minor issues and improvements recorded over years...
Aleksander Slominski
as10m
Offline Send Email
Nov 29, 2006
6:46 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help