Re: XML Syntax Summary in Part 1

Arthur Ryman <[email protected]>
Newsgroups gmane.comp.web.services.description
Message-ID <OF5DB77D7C.5B204713-ON8525727B.006B7BA8-8525727B.006C6DD7@ca.ibm.com>
Ram,

Looks like a bug in the XML syntax summary. Should be *.

The multiple <documentation> elements are for any desired purpose (human 
or machine), and could be used for difference languages.

Arthur Ryman,
IBM Software Group, Rational Division

blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: [email protected]



"Ramkumar Menon" <[email protected]> 
Sent by: [email protected]
02/06/2007 10:24 PM

To
[email protected]
cc

Subject
XML Syntax Summary in Part 1






Gurus,
 
Section 9 of Part 1 shows the XML syntax summary for a WSDL document.
 
I am attaching a snippet of the XML.
 
<description targetNamespace="xs:anyURI" >
  <documentation />?

  <import namespace="xs:anyURI" location="xs:anyURI"? >
    <documentation />* 
  </import>*

  <include location="xs:anyURI" >
    <documentation />*
  </include>*

   . . . . . 
<binding name="xs:NCName" interface="xs:QName"? type="xs:anyURI" >
    <documentation />*
      . . . . . 
 
You can note that "description" can possess only zero or one 
"documentation" element [as indicated by "?"], whereas other components 
can have zero or more documentation elements within them. [as indicated by 
"*"] 
Is this correct ?
 
Secondly, am I right if I state that multiple documentation tags have been 
provisioned only to provide for documentation in different languages using 
the "xml:lang" property? Are there any other use-cases for this ? 
 
rgds,
Ram
 


-- 
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!

-Ramkumar Menon
A typical Macroprocessor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.