Re: [Proposal] Printer package

1999-11-23 Thread Assaf Arkin
Done. I did the package rename (again) and now trying to get the stuff to commit. Had some SSH problems before, we'll see if I can finally manage to commit today ;-) arkin > I thought "org.apache.xml.serialize" was the way to go, right? > > -- > Stefano Mazzocchi One must still have chaos

Re: [Proposal] Printer package

1999-11-23 Thread Stefano Mazzocchi
Assaf Arkin wrote: > > > So, do we have an agreement on these "XML serializing" classes? I think > > so. > > > > And I think Assaf can go ahead and drop them in. Anyone against this? > > Is that org.apache.xerces.serialize or org.apache.xml.serialize? I thought "org.apache.xml.serialize" was the

Re: [Proposal] Printer package

1999-11-22 Thread Assaf Arkin
> So, do we have an agreement on these "XML serializing" classes? I think > so. > > And I think Assaf can go ahead and drop them in. Anyone against this? Is that org.apache.xerces.serialize or org.apache.xml.serialize? arkin > > -- > Stefano Mazzocchi One must still have chaos in oneself

Re: [Proposal] Printer package

1999-11-21 Thread Stefano Mazzocchi
Eduardo Pelegri-Llopart wrote: > > In my experience with these technologies, > > - Marshalling is used to describe taking the object(s) and making it > ready for passing it as a parameter in some invocation. > > - Serialization is taking the object(s) and linearizing it for storage > (or transmi

Re: [Proposal] Printer package

1999-11-20 Thread Eduardo Pelegri-Llopart
In my experience with these technologies, - Marshalling is used to describe taking the object(s) and making it ready for passing it as a parameter in some invocation. - Serialization is taking the object(s) and linearizing it for storage (or transmission) so it can be recovered later. These two

Re: [Proposal] Printer package

1999-11-19 Thread keshlam
>Even though serializing is a general term aptly descibing what is happening, I >think the overload with Java-specific serialization is bound to confuse >people. Only those who don't realize that "serialize" is a design pattern, not a specific implementation. And I'm afraid my reaction is that th

Re: [Proposal] Printer package

1999-11-19 Thread Stefano Mazzocchi
Tom Palmer wrote: > > > When we talk about serializing the DOM, what are we talking about now? You > > will always have to qualify this with "er Java Serialization" or "no.. the > > xerces serialization package/mechanism." > > > As I mentioned before when we all sent emails with our > different op

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-19 Thread Rajiv Mordani
+1 on org.apache.xerces.serialize. - Rajiv Tom Palmer wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > > org.apache.xerces.serialize > > > > or > > > > org.apache.serialize > > > Should be "org.apache.xerces.serialize" or "org.apache.xml.serialize", > but it seems like most peo

Re: [Proposal] Printer package

1999-11-18 Thread Tom Palmer
> When we talk about serializing the DOM, what are we talking about now? You > will always have to qualify this with "er Java Serialization" or "no.. the > xerces serialization package/mechanism." > As I mentioned before when we all sent emails with our different opinions, you could call it: D

Re: [Proposal] Printer package

1999-11-18 Thread Ralf Pfeiffer
Even though serializing is a general term aptly descibing what is happening, I think the overload with Java-specific serialization is bound to confuse people. When we talk about serializing the DOM, what are we talking about now? You will always have to qualify this with "er Java Serialization" o

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-18 Thread Pierpaolo Fumagalli
Keith Visco <[EMAIL PROTECTED]> wrote: > +1 for org.apache.xml.serialize; Agreed... +1 Pier

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-18 Thread twleung
+1 - Original Message - From: Scott Boag/CAM/Lotus To: <[EMAIL PROTECTED]> Sent: Thursday, November 18, 1999 12:25 PM Subject: Re: C++ printers [was Re: [Proposal] Printer package] > > > Please one last vote: > > +1 org.apache.xml.serialize &g

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-18 Thread Scott Boag/CAM/Lotus
> Please one last vote: +1 org.apache.xml.serialize (Assaf meant to say org.apache.xml.serialize and not org.apache.serialize). (votes that effect more than xerces should be put on the general list and not the xerces-dev list.) -scott

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-18 Thread Keith Visco
Tom Palmer wrote: > > org.apache.xerces.serialize > > > > or > > > > org.apache.serialize > > > Should be "org.apache.xerces.serialize" or "org.apache.xml.serialize", > but it seems like most people are in favor of "xerces" or plain "xml". > > I think "xerces" is probably fine, though hopefully

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-18 Thread Tom Palmer
> org.apache.xerces.serialize > > or > > org.apache.serialize > Should be "org.apache.xerces.serialize" or "org.apache.xml.serialize", but it seems like most people are in favor of "xerces" or plain "xml". I think "xerces" is probably fine, though hopefully it never gets stuck to any code in th

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-18 Thread Assaf Arkin
I've renamed everything Serialize/Serializer, fixed some bugs, added the SAX2 support, and had some testing done using Cocoon, so I'm all ready to commit. Please one last vote: org.apache.xerces.serialize or org.apache.serialize arkin Scott Boag/CAM/Lotus wrote: > > The intention is to end

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-18 Thread Scott Boag/CAM/Lotus
TED] e.com>cc: (bcc: Scott Boag/CAM/Lotus) Sent by: Subject: Re: C++ printers [was Re: [Proposal] Printer package] [EMAIL PRO

Re: [Proposal] Printer package

1999-11-18 Thread Stefano Mazzocchi
Scott Boag/CAM/Lotus wrote: > > +1 to org.apache.xerces.serialize. > > I chatted with Noah Mendelsohn, who helped design the Java Serializable and > Externalizable interfaces. His opinion is that the Serializable interface > in Java is an example of the the generic technique of serialization. T

Re: [Proposal] Printer package

1999-11-18 Thread Stefano Mazzocchi
[EMAIL PROTECTED] wrote: > > >No, please, Cocoon uses the idea of "producers" and "generators" would > >just increase the confusion. > > Let's face it: almost any good term will already be used by someone... Good point. > If you want something that's completely accurate, rather ugly, but becau

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-18 Thread Mike Pogue
OK, sounds good. As long as we end up with one set of printers, rather than two (which I think would be too confusing). Mike Assaf Arkin wrote: > > Mike Pogue wrote: > > > > Very cool. Thanks! > > > > So, let me make sure I understand. Are there TWO printers of this type > > (one from Arkin, o

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-18 Thread Assaf Arkin
Mike Pogue wrote: > > Very cool. Thanks! > > So, let me make sure I understand. Are there TWO printers of this type > (one from Arkin, one already in Xalan somewhere)? Does Arkin's replace > the Xalan one, or does it do something different than the Xalan one, or > am I just totally confused her

Re: C++ printers [was Re: [Proposal] Printer package]

1999-11-17 Thread Mike Pogue
Very cool. Thanks! So, let me make sure I understand. Are there TWO printers of this type (one from Arkin, one already in Xalan somewhere)? Does Arkin's replace the Xalan one, or does it do something different than the Xalan one, or am I just totally confused here? Thanks, Mike Keith Visco wro

C++ printers [was Re: [Proposal] Printer package]

1999-11-16 Thread Keith Visco
I will create the SAX based C++ printers, which will be pretty much a straight port from Assaf's code. Given time I might write the DOM printer that sits on top of the SAX one, but that will come later. --Keith Assaf Arkin wrote: > Mike Pogue wrote: > > > > Hey, Arkin...can we get a C++ versio

Re: [Proposal] Printer package

1999-11-16 Thread Scott Boag/CAM/Lotus
t;[EMAIL PROTECTED]To: [EMAIL PROTECTED] e.com>cc: (bcc: Scott Boag/CAM/Lotus) Sent by: Subject: Re: [Propo

Re: [Proposal] Printer package

1999-11-16 Thread keshlam
>No, please, Cocoon uses the idea of "producers" and "generators" would >just increase the confusion. Let's face it: almost any good term will already be used by someone... If you want something that's completely accurate, rather ugly, but because of its ugliness unlikely to be a conflict, there'

Re: [Proposal] Printer package

1999-11-16 Thread Assaf Arkin
e.com>cc: (bcc: Scott Boag/CAM/Lotus) > Sent by: Subject: Re: [Proposal] Printer > package > [EMAIL PROTECTED] > office.com > > > 11/15/99 07:13 >

Re: [Proposal] Printer package

1999-11-16 Thread Scott Boag/CAM/Lotus
(bcc: Scott Boag/CAM/Lotus) Sent by: Subject: Re: [Proposal] Printer package [EMAIL PROTECTED]

Re: [Proposal] Printer package

1999-11-16 Thread Stefano Mazzocchi
[EMAIL PROTECTED] wrote: > > >I dislike serialization because there's a lot of demand for what Java > >referes to as serialization, > > OK. Then I suggest "generate" as an antonym for "parse". No, please, Cocoon uses the idea of "producers" and "generators" would just increase the confusion. A

Re: [Proposal] Printer package

1999-11-16 Thread Assaf Arkin
ble. > > -scott > > > Assaf Arkin > <[EMAIL PROTECTED]To: [EMAIL PROTECTED] > e.com>cc: (bcc: Scott Boag/CAM/Lotus) > Sent by: Subject:

Re: [Proposal] Printer package

1999-11-16 Thread Assaf Arkin
Mike Pogue wrote: > > Hey, Arkin...can we get a C++ version, too, so that the two > Xerces parsers stay together? I'd expect that the Java and > C++ Xerces parsers would want to serialize and canonicalize > identically. The Java code can be migrated into C++, but I'll have to decline this one, I

Re: [Proposal] Printer package

1999-11-15 Thread Keith Visco
with serialize... > > Linearize/linearizer might work. > > -scott > > > "Tom Palmer" > <[EMAIL PROTECTED]To: <[EMAIL PROTECTED]> > pia.com> cc: (bcc: Scott Boag/CAM/Lotus) >

Re: [Proposal] Printer package

1999-11-15 Thread Scott Boag/CAM/Lotus
e.com>cc: (bcc: Scott Boag/CAM/Lotus) Sent by: Subject: Re: [Proposal] Printer package [EMAIL PROTECTED]

Re: [Proposal] Printer package

1999-11-15 Thread Scott Boag/CAM/Lotus
m> cc: (bcc: Scott Boag/CAM/Lotus) Subject: Re: [Proposal] Printer package

Re: [Proposal] Printer package

1999-11-15 Thread Mike Pogue
Hey, Arkin...can we get a C++ version, too, so that the two Xerces parsers stay together? I'd expect that the Java and C++ Xerces parsers would want to serialize and canonicalize identically. Mike Assaf Arkin wrote: > > OK. Package name changes to org.apache.xerces.serialize > > arkin > > T

Re: [Proposal] Printer package

1999-11-15 Thread Assaf Arkin
OK. Package name changes to org.apache.xerces.serialize arkin Tom Palmer wrote: > > > people confuse because Java semantics are a bit different and more > > common. > > > The trick is having to cope with two groups using the same > word in slightly different ways, and any name picked that is >

Re: [Proposal] Printer package

1999-11-15 Thread Tom Palmer
> people confuse because Java semantics are a bit different and more > common. > The trick is having to cope with two groups using the same word in slightly different ways, and any name picked that is nice for Java may end up being bad for another language. It would be good to use the terms that

Re: [Proposal] Printer package

1999-11-15 Thread twleung
I don't have a problem granting commit access to folks who are going to work on the code. - Original Message - From: Scott Boag/CAM/Lotus To: <[EMAIL PROTECTED]> Cc: Sent: Monday, November 15, 1999 12:59 PM Subject: Re: [Proposal] Printer package > Download a se

Re: [Proposal] Printer package

1999-11-15 Thread twleung
Yep. This is a future thing. - Original Message - From: Assaf Arkin <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 15, 1999 2:18 PM Subject: Re: [Proposal] Printer package > According to the W3C, additional requirements are to deal with > nam

Re: [Proposal] Printer package

1999-11-15 Thread Assaf Arkin
I will not object to having the package named serialize if it makes sense from a DOM/XSLT semantic, I just hold that it's going to get people confuse because Java semantics are a bit different and more common. arkin Assaf Arkin wrote: > > [EMAIL PROTECTED] wrote: > > > > I missed most of this d

Re: [Proposal] Printer package

1999-11-15 Thread keshlam
>I dislike serialization because there's a lot of demand for what Java >referes to as serialization, OK. Then I suggest "generate" as an antonym for "parse". __ Joe Kesselman / IBM Research

Re: [Proposal] Printer package

1999-11-15 Thread Assaf Arkin
[EMAIL PROTECTED] wrote: > > I missed most of this discussion, but: If by "print" you mean "render as > XML syntax", the DOM group refers to that operation as "serialize". > > (Serialization is another one of the issues on the table for DOM Level 3.) I do mean render as some syntax, could be XML

Re: [Proposal] Printer package

1999-11-15 Thread Tim Bray
At 01:15 PM 11/15/99 -0800, [EMAIL PROTECTED] wrote: >In the future: > >http://www.w3.org/TR/xml-c14n > >I'm sure Tim or James can tell us more about whether this is ready for use >yet. >I haven't had time to read it yet. If you read this any time before today, re-fetch it; someone at W3C had post

Re: [Proposal] Printer package

1999-11-15 Thread Assaf Arkin
for use > yet. > I haven't had time to read it yet. > > For now, Clark's definition works for me. > > Ted > - Original Message - > From: Assaf Arkin <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, November 15, 1999 12:37 P

Re: [Proposal] Printer package

1999-11-15 Thread Scott Boag/CAM/Lotus
[Proposal] Printer package 04:09 PM

Re: [Proposal] Printer package

1999-11-15 Thread Assaf Arkin
in > <[EMAIL PROTECTED]To: [EMAIL PROTECTED] > e.com>cc: xalan-dev@xml.apache.org, > (bcc: Scott Boag/CAM/Lotus) > Sent by: Subject: Re: [Proposal] Printer > package >

Re: [Proposal] Printer package

1999-11-15 Thread keshlam
I missed most of this discussion, but: If by "print" you mean "render as XML syntax", the DOM group refers to that operation as "serialize". (Serialization is another one of the issues on the table for DOM Level 3.) __ Joe Kesselman / IBM Research

Re: [Proposal] Printer package

1999-11-15 Thread twleung
k's definition works for me. Ted - Original Message - From: Assaf Arkin <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 15, 1999 12:37 PM Subject: Re: [Proposal] Printer package > > Also, I'd like to see a printer that can generate "cano

Re: [Proposal] Printer package

1999-11-15 Thread Scott Boag/CAM/Lotus
Scott Boag/CAM/Lotus) Subject: Re: [Proposal] Printer package 11

Re: [Proposal] Printer package

1999-11-15 Thread Scott Boag/CAM/Lotus
<[EMAIL PROTECTED]To: [EMAIL PROTECTED] e.com>cc: xalan-dev@xml.apache.org, (bcc: Scott Boag/CAM/Lotus) Sent by: Subj

Re: [Proposal] Printer package

1999-11-15 Thread Keith Visco
IL PROTECTED] > ia.com> To: <[EMAIL PROTECTED]> > cc: (bcc: Scott Boag/CAM/Lotus) > 11/15/99 Subject: Re: [Proposal] Printer > package > 02:

Re: [Proposal] Printer package

1999-11-15 Thread Assaf Arkin
Mike Pogue wrote: > > I think we have one of these around somewhere, that we've been > using for testing. It's more than just whitespace formatting. > I believe it sorts attributes as well, if I remember correctly. Yep, you're absolutely right. So we've got: * No formatting * No CDATA * Attri

Re: [Proposal] Printer package

1999-11-15 Thread Scott Boag/CAM/Lotus
(bcc: Scott Boag/CAM/Lotus) 11/15/99 Subject: Re: [Proposal] Printer package 02:20 PM

Re: [Proposal] Printer package

1999-11-15 Thread Mike Pogue
I think we have one of these around somewhere, that we've been using for testing. It's more than just whitespace formatting. I believe it sorts attributes as well, if I remember correctly. Mike Assaf Arkin wrote: > > > Also, I'd like to see a printer that can generate "canonical" XML. This i

Re: [Proposal] Printer package

1999-11-15 Thread Assaf Arkin
> Also, I'd like to see a printer that can generate "canonical" XML. This is > especially handy for testing purposes. Keith just explained to me that canonical XML is a minimal XML document, i.e. one without CDATA sections, indentation or any extra formatting. In the SAX case any document you pri

Re: [Proposal] Printer package

1999-11-15 Thread Assaf Arkin
> I don't think this is a good assumption. In my view we are making > components, which should be standalone. For instance, Xalan is useable > without any parser at all, though this tends to be an unlikely scenario. > It is certainly designed not to have tight coupling with Xerces. I took that i

Re: [Proposal] Printer package

1999-11-15 Thread twleung
- Original Message - From: Assaf Arkin <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 15, 1999 10:52 AM Subject: Re: [Proposal] Printer package Okay, I just took a quick look through the code: In general I like what I see. This is much better than

Re: [Proposal] Printer package

1999-11-15 Thread Scott Boag/CAM/Lotus
We need to include this on the Xalan dev list, or move it up to the general list. > There's need for the printers to be available for XML parser users. The > printers in Xalan required a separate download, are very well hidden > (took me two attempts to locate them because I knew they were there!

Re: [Proposal] Printer package

1999-11-15 Thread twleung
ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 12, 1999 5:41 PM Subject: [Proposal] Printer package > I would like to introduce a printer package implementing XML/HTML/XHTML > printing with DOM and SAX interfaces. > > The ability to print XML documents in these thr

Re: [Proposal] Printer package

1999-11-15 Thread Assaf Arkin
> In general, I like the structure of the .printer code more than what is > currently in Xalan, and think it would be a great starting base. Scott, thank you. The exisiting code base deals with CData (setCDataElements) and raw characters (setUnescapedElements). There are also event handles for co

Re: [Proposal] Printer package

1999-11-15 Thread Scott Boag/CAM/Lotus
First, I don't really like the term 'Printer' for this functionality. I would rather see something like 'serializer', so, for the moment, I'll use that term in this note. > 1) put printers inside the parser (as Assaf proposes) > 2) put printers inside the processor (as it is today) > 3) put prin

Re: [Proposal] Printer package

1999-11-13 Thread Keith Visco
I vote for keeping the printers with the XML parser. But since many projects would/could make use of them I'm not against moving them to a new project. People shouldn't have to download an XSLT processor or FOP just to get the printers. --Keith Stefano Mazzocchi wrote: > Assaf Arkin wrote: >

Re: [Proposal] Printer package

1999-11-13 Thread Wong Kok Wai
> Alternatives are: > > 1) put printers inside the parser (as Assaf proposes) > 2) put printers inside the processor (as it is today) > 3) put printers inside FOP > 3) create a new project > +1 for option 1 from me. To parse and print a XML document is a commonly used combination. If I need to imp

Re: [Proposal] Printer package

1999-11-13 Thread Stefano Mazzocchi
Assaf Arkin wrote: > > I would like to introduce a printer package implementing XML/HTML/XHTML > printing with DOM and SAX interfaces. > > The ability to print XML documents in these three generic formats should > be the reponsibility of the parser package. The DOMWriter and SAXWriter > in the sa

Re: [Proposal] Printer package

1999-11-13 Thread Tom Palmer
> I would like to introduce a printer package implementing XML/HTML/XHTML > printing with DOM and SAX interfaces. > I think these would be a good addition to Xerces. I like that the printer simply implements a DocumentHandler interface. This is the way I feel it should be done. - Tom Palmer

[Proposal] Printer package

1999-11-13 Thread Assaf Arkin
I would like to introduce a printer package implementing XML/HTML/XHTML printing with DOM and SAX interfaces. The ability to print XML documents in these three generic formats should be the reponsibility of the parser package. The DOMWriter and SAXWriter in the samples directory do not implement s