cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Schema oddity
Date Tue, 12 Oct 2010 23:00:40 GMT
Not this particular test. I can't even figure out why the test has
this in the schema. I gave the element a name.

On Tue, Oct 12, 2010 at 5:57 PM, Daniel Kulp <dkulp@apache.org> wrote:
> On Tuesday 12 October 2010 5:49:31 pm Benson Margulies wrote:
>> One of our test schemas says:
>>
>>
>>  <element name="inHeader">
>>                                 <complexType>
>>                                         <sequence>
>>                                                 <element
name=""
>> type="xsd:string"/>
>>                                         </sequence>
>>                                 </complexType>
>>                         </element>
>>
>>
>> Is a null name really a reasonable thing in a sequence? As I read the
>> spec, name="" is never reasonable. The spec demands an NCName for
>> name, and either name or ref must be present.
>
> Yea.  I don't think that would be valid.  Now, the question is, is the test
> testing what happens with an invalid schema?    I suppose that's too much to
> ask for.  :-)
>
> --
> Daniel Kulp
> dkulp@apache.org
> http://dankulp.com/blog
>
Mime
View raw message