I note that Xerces does not complain when I have an element named <xmlfoo>. It does complain for <-xmlfoo>, which is not a valid name. I bet other parsers behave the same. Since this issue comes from the XML spec, I'd rather see the Apache SOAP code do nothing about it and let parsers complain.
Scott ----- Original Message ----- From: "Soumen Sarkar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 03, 2002 1:57 PM Subject: RE: SOAP ObjecT support > I beleive a definite answer on this issue is needed to foster SOAP interop. > I would vote for disallowing it, just my opinion. > > Soumen Sarkar. > > -----Original Message----- > From: Scott Nichol [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 02, 2002 8:37 PM > To: [EMAIL PROTECTED] > Subject: Re: SOAP ObjecT support > > > I assume you refer to this excerpt from XML 1.0: > > Names beginning with the string "xml", or any string which would match > (('X'|'x') ('M'|'m') ('L'|'l')), are reserved for standardization in this or > future versions of this specification. > > I am not an expert on the phrasing used in W3C standards, but I do not think > that this means that a document using such a name is not "legal". > Regardless of whether it is technically allowed, I suspect that various XML > parsers will allow such names, and I know of no restrictions within Apache > SOAP that prevent the use of such names. Therefore, I would expect the > serializer to create such names. > > Scott Nichol > > ----- Original Message ----- > From: "Soumen Sarkar" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 02, 2002 9:20 PM > Subject: RE: SOAP ObjecT support > > > > I have a question in this regard -- what happens if > > the bean has properties whose names start with [Xx][Mm][Ll]. > > In legal XML document/message names starting with [Xx][Mm][Ll] > > are not allowed. Does Apache BeanSerializer handle it? > > > > Regards, > > Soumen Sarkar > > > > -----Original Message----- > > From: Scott Nichol [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, March 31, 2002 8:18 PM > > To: [EMAIL PROTECTED] > > Subject: Re: SOAP ObjecT support > > > > > > Apache SOAP can work with any Java class you can create. If the class is > a > > bean, the BeanSerializer can be used to write/read an instance to/from a > > SOAP message. If the class is not a bean, a custom serializer and/or > > de-serializer is written. The AddressBook example shows how to use > > user-defined classes. > > > > Scott Nichol > > > > ----- Original Message ----- > > From: "Abou-Khalil, Charbel" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Tuesday, March 26, 2002 11:27 > > Subject: SOAP ObjecT support > > > > > > > Hi, > > > I just want to know if SOAP suports any types other than the Java types > > > (posisbly primitive types). > > > Anyone can shed some light into this issue please.. where a soap serivce > > may > > > retunr a selfdefined object or calss. thanks a lot. > > > > > > CAK. > > > > > > This message may contain privileged and/or confidential information. If > > you > > > have received this e-mail in error or are not the intended recipient, > you > > > may not use, copy, disseminate or distribute it; do not open any > > > attachments, delete it immediately from your system and notify the > sender > > > promptly by e-mail that you have done so. Thank you. > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com