← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [sca-bindings] Re: QNames vs. NCNames

From
Eric Johnson <>
Date
2008-12-04T15:03:39+00:00
ID
Thread
Re: [sca-bindings] Re: QNames vs. NCNames
Hi Mike,

Mike Edwards wrote:

  Folks,
  

  

  Comments inline as <mje>...</mje>
  

  

  Random note - in assembly
CD01-rev3, the following appear to be in error:
  
    
line 2036, 2040, 2054, 2058 - @name attribute on
the binding
element is xs:NCName, not xs:QName

  
  

  <mje> I don't
think
that this is an error.  The @name attribute defines the LOCAL part
of a QName - and such local parts are always declared as NCName
  

  with the namespace
deriving
from the @targetNamespace of the enclosing document.
  

  The only reason to
have
an attribute that is declared as a QName is where the attribute is
referring
to some XML entity declared elsewhere - in that case
  

  the full QName is
needed.
  

  </mje>
  

I am pretty certain that it is an error, because any "binding" element
or type that I could find in the schema portion of the document always
shows this @name attribute as an NCName.  Those lines above show the
@name attribute as a QName.

-Eric.
← Prev in month ← Prev in thread
Next in thread → Next in month →