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

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

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
Messages 130 - 159 of 308   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
130
... i am not particularly good about stylesheets (do you mean XSLT or CSS?) but AFAIU you just need ot write some processing instructions (for embedded XSLT)...
Aleksander Slominski
as10m
Offline Send Email
Feb 2, 2004
8:29 pm
131
... what is the exception (please *always* send exception including stack trace!)? XmlPull factory may not be able to find a factory class implementation. did...
Aleksander Slominski
as10m
Offline Send Email
Feb 2, 2004
11:10 pm
132
Hey all, I'm new to pull parsers and I had a question. Is it possible to clone a pull parser? I was hoping to create a pull parser, parse part way through a...
natehughes1003
Offline Send Email
Feb 3, 2004
1:53 am
133
... yes but not easily. ... you need to clone not only parser but even more important original input needs to be saved for reparsing. instead i would create a...
Aleksander Slominski
as10m
Offline Send Email
Feb 3, 2004
2:59 am
134
That's too bad that I need to record it to re-parse it, I was hoping I wouldn't have to store any of the data in memory in order to 'rewind' and begin parsing...
Nathaniel Hughes
natehughes1003
Offline Send Email
Feb 4, 2004
2:10 am
135
Why can't you just save the inputstream? As you parse, it increments the position of the stream. Make a clone of the stream, which I don't think keeps anything...
Kevin Duffey
supreme_java...
Offline Send Email
Feb 4, 2004
2:14 am
136
... that is true - parser keeps in memory only small buffer with few KBs of input. ... files streams already has ability to mark positions but what you really ...
Aleksander Slominski
as10m
Offline Send Email
Feb 4, 2004
2:28 am
137
... if you are parsing files you may take a different approach and do a real clone of parser object but that will require you looking into actual parser...
Aleksander Slominski
as10m
Offline Send Email
Feb 4, 2004
2:32 am
138
So if I implemented the clone operation in MXParser, you think I could do this? I would have to call super.clone() and also clone the Reader (with simply...
Nathaniel Hughes
natehughes1003
Offline Send Email
Feb 4, 2004
2:54 am
139
... it maintains tables of namespaces, attributes etc and those must be deep cloned. i started writing a sample CloneableMXParser and should be ready in few ...
Aleksander Slominski
as10m
Offline Send Email
Feb 4, 2004
3:00 am
140
Great, thanks. I admittedly (and perhaps obviously) don't have much experience implementing clone methods, but I'm reading up right now. I look forward to...
Nathaniel Hughes
natehughes1003
Offline Send Email
Feb 4, 2004
3:13 am
141
... it is not fun but doeable though ugly - read comments in code and interview with Ken Arnold to fully appreciate ugliness of cloning in Java ... ... here is...
Aleksander Slominski
as10m
Offline Send Email
Feb 4, 2004
6:37 am
142
Man, this is awesome, thanks Alek! I just got this compiled and working and it works like a charm. I did have to cast some of the cloned objects back to their...
Nathaniel Hughes
natehughes1003
Offline Send Email
Feb 5, 2004
4:22 am
143
So I'm having one slight problem using my cloned pull parser and I was wondering if someone could help. Here's what I'm doing: I'm parsing a file, and at a...
Nathaniel Hughes
natehughes1003
Offline Send Email
Feb 6, 2004
8:33 pm
144
hi Nate, this is now tracked in bugzilla: http://www.extreme.indiana.edu/bugzilla/show_bug.cgi?id=177 please login to bugzilla and add files with source code...
Aleksander Slominski
as10m
Offline Send Email
Feb 7, 2004
12:12 am
145
... Perhaps for testing the safest option is to build a mock-up cloneable reader that reads the whole content of an underlying reader to a StringBuffer? cloned...
Stefan Haustein
dukoids
Offline Send Email
Feb 7, 2004
12:52 am
146
... i have put test together implementaiton based on XPP3 that uses CharArrayReader and it worked great (so great that i may make XPP3 high end class to...
Aleksander Slominski
as10m
Offline Send Email
Feb 7, 2004
1:42 am
147
... hi Nate, just write new class something like CloneableFileReader extends Reader implements Cloneable { private File ... private long filepPos;} and makes...
Aleksander Slominski
as10m
Offline Send Email
Feb 10, 2004
6:40 pm
148
alek, I don't understand how I'm able to access and clone the file and filepos if I'm extending a Reader (or in my case, a FileReader). Are these private...
Nathaniel Hughes
natehughes1003
Offline Send Email
Feb 10, 2004
7:10 pm
149
Nathaniel, you need to keep track of the stream position (re-implement all methods that move the stream position by calling the super method) and create a new...
Stefan Haustein
dukoids
Offline Send Email
Feb 10, 2004
7:39 pm
150
Ahh, I see. I just gave this a try and it appears to be doing the job. Thank you so much for your time! I'll post the whole class once I test it. Nate...
Nathaniel Hughes
natehughes1003
Offline Send Email
Feb 10, 2004
8:04 pm
151
... hi Nate, take look on examples cloeneable file reader and cloning parser sample i have added to XmlPull CVS (based on our emails): ...
Aleksander Slominski
as10m
Offline Send Email
Feb 13, 2004
9:18 pm
152
Great, thanks Alek! I've been using your cloneable parser with great success in my new project. Do you know when your next release will be out? The sooner the...
Nathaniel Hughes
natehughes1003
Offline Send Email
Feb 20, 2004
1:50 am
153
... there is no such feature defined for XmlPull.org (see http://xmlpull.org/v1/doc/features.html) ... yes there is a property, use: ...
Aleksander Slominski
as10m
Offline Send Email
Feb 20, 2004
3:20 am
154
Hi, We use the Pull parser based on XNI to parse the input stream. Pieces of the input stream are converted into DOM (based on Xerces 2.6.x) and processed ...
Aleksandar Milanovic
risjak
Offline Send Email
Feb 25, 2004
9:39 pm
155
... kXML does not avoid re-creation of Strings, but XPP does (AFAIK). Best, Stefan Haustein...
Stefan Haustein
dukoids
Offline Send Email
Feb 26, 2004
8:06 pm
156
I run into the problem that I can't instantiate an XmlPullParserFactory. I replace: XmlPullParserFactory factory = XmlPullParserFactory.newInstance ...
Berco Beute
bbeute
Offline Send Email
Mar 3, 2004
6:58 pm
157
I found the solution, instead of XmlPullParserFactory factory = XmlPullParserFactory.newInstance ("org.xmlpull.v1.XmlPullParserFactory", this.getClass()); I...
Berco Beute
bbeute
Offline Send Email
Mar 6, 2004
11:10 am
158
... hi, XmlPullParserFactory has protected constructor and cannot be instantiated. it is meant as a base class for parser specific factory. ... i think that...
Aleksander Slominski
as10m
Offline Send Email
Mar 7, 2004
8:02 am
159
I'm using kXML to build a RDF/XML serializer, and have come across some troubles as far as entity references in attributes is concerned. Due to the extreme...
alfred_doeblin
Offline Send Email
Mar 17, 2004
11:18 pm
Messages 130 - 159 of 308   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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