|
From: Michael A. <mic...@ze...> - 2003-12-28 21:48:09
|
OK, done and committed to both branches. The new method name is getDocumentAsString(). =20 Cheers... MikeA On Sun, 2003-12-28 at 20:38, Dejan Krsmanovic wrote: > The only problem I see here is that toString was used > in previous versions for getting document as String. > There are examples in documentation where toString is > used this way. I wrote many pipelines which use > toString method for accessing content, too. > On the other hand I agree with Bruce and Mike that > toString() should return full state of object as > String - not just content. Note that currently (in 1.2 > release) there is no way to access content of document > as String so whatever option we choose - it should be > implemented in 1.2 release too, not just 1.3 (1.4 > stable).=20 >=20 > Dejan > P.S.=20 > I fixes few bugs in Scanner module but I have updated > only HEAD branch. I will update 1.2 branch too, and we > can start thinking about 1.2.1 bugfix release. >=20 >=20 > --- Bruce McDonald <br...@mc...> wrote: > > Mike, > >=20 > > Good to see you back. =20 > >=20 > > I completely agree with you here. Your name looks > > perfect. > >=20 > > regards, > > Bruce. > >=20 > > On Saturday 27 December 2003 01:20 pm, Michael > > Ansley wrote: > > > Hi, Bruce, > > > > > > I noticed the discussion on the users list > > regarding the > > > PipelineDocument.toString() method. In the > > absence of other > > > suggestions, I'd like to suggest that: > > > > > > a) toString() stay as it is, because I think that > > any toString() method > > > should completely describe the object it's called > > on, > > > > > > b) we create a new method, say documentToString() > > or > > > getDocumentAsString(), which contains the original > > toString() > > > functionality. > > > > > > I'm disinclined to think of this as a bug, and as > > such, I don't see any > > > reason for 1.2 to revert to the old behaviour, > > although others may > > > disagree. However, I would prefer to see 1.3 > > follow the suggestion > > > outlined above. > > > > > > Thoughts... > > > > > > Any objections to me creating the new method in > > 1.3? Preference for a > > > name? > > > > > > > > > MikeA > >=20 > >=20 > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux > > Tutorials. > > Become an expert in LINUX or just sharpen your > > skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the > > bash shell to sys admin. > > Click now! > > > http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel >=20 >=20 > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |