Generally speaking, identifiers are limited to alphanumeric characters and
the underscore (_), with digits not permitted as the first character.
Additionally, by convention identifiers beginning with an underscore
represent 'private' identities.


HTH,
Ian

Ian D. Stewart
Open Systems Engineer II
Enterprise Midrange - Bank One Infrastructure & Operations
[EMAIL PROTECTED]
(614) 213-6100




Anne Thomas Manes <[EMAIL PROTECTED]> on 08/14/2003 09:45:38 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  RE: question regarding axis in tomcat



A service name is an NCname -- so the question is,  are blanks allowed in
an NCname. From the XML spec, here are the requirements for an NCname
(anyone here know how to interpret Unicode?):


The character classes defined here can be derived from the Unicode 2.0
character database as follows:

    * Name start characters must have one of the categories Ll, Lu, Lo, Lt,
Nl.
    * Name characters other than Name-start characters must have one of the
categories Mc, Me, Mn, Lm, or Nd.
    * Characters in the compatibility area (i.e. with character code
greater than #xF900 and less than #xFFFE) are not allowed in XML names.
    * Characters which have a font or compatibility decomposition (i.e.
those with a "compatibility formatting tag" in field 5 of the database --
marked by field 5 beginning with a "<") are not allowed.
    * The following characters are treated as name-start characters rather
than name characters, because the property file classifies them as
Alphabetic: [#x02BB-#x02C1], #x0559, #x06E5, #x06E6.
    * Characters #x20DD-#x20E0 are excluded (in accordance with Unicode
2.0, section 5.14).
    * Character #x00B7 is classified as an extender, because the property
list so identifies it.
    * Character #x0387 is added as a name character, because #x00B7 is its
canonical equivalent.
    * Characters ':' and '_' are allowed as name-start characters.
    * Characters '-' and '.' are allowed as name characters.


At 10:26 AM 8/14/2003 +0100, you wrote:
>Guys,
>
>Is this not an argument about web service namimg conventions? I have never
>seen a web service name with spaces (although I am fairly new to this
game)
>so could someone on the list advise whether spaces in service names are
>advisable at all?
>
>Jim
>
> > -----Original Message-----
> > From: Shantanu Sen [mailto:[EMAIL PROTECTED]
> > Sent: 14 August 2003 00:23
> > To: [EMAIL PROTECTED]
> > Subject: Re: question regarding axis in tomcat
> >
> >
> > Chris,
> >
> > I agree that this will be easier. But customers may
> > want spaces in their service names for whatever
> > reason.
> >
> > Also, this brings out a problem with the
> > MessageContext properties initialization in
> > AxisServlet. It forces me to override the get/post
> > methods where I could just override the
> > createMessageContext method if it was protected.
> >
> > Probably I should post this axis-dev.
> >
> > Shantanu
> >
> > --- chaddad <[EMAIL PROTECTED]> wrote:
> > > Shantanu -
> > >
> > > If you have control over the service, it would be
> > > easier to just remove the space from the service
> > > name.
> > >
> > >
> > > /Chris
> > >
> > >
> > > ---------- Original Message
> > > ----------------------------------
> > > From: Shantanu Sen <[EMAIL PROTECTED]>
> > > Reply-To: [EMAIL PROTECTED]
> > > Date:  Wed, 13 Aug 2003 14:05:55 -0700 (PDT)
> > >
> > > >Now if the service name has spaces e.g. "My
> > > Service",
> > > >I see a problem
> >










This transmission may contain information that is privileged, confidential and/or 
exempt from disclosure under applicable law. If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, or use of the 
information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. 
If you received this transmission in error, please immediately contact the sender and 
destroy the material in its entirety, whether in electronic or hard copy format. Thank 
you.

Reply via email to