Hi!

 

I have a validation issue where the qname of an xsi:type isn't liked by
xmlbeans;

 

This validates ok (the namespace is prefixed):

 

 <ns:SampleRequest xmlns:ns=" <urn:SampleDataNamespace>
urn:SampleDataNamespace">

     

<ns:Content xsi:type="ns:SubTypeA">

         <ns:Foo></ns:Foo>

           <ns:Bar></ns:Bar>

     

</ns:Content>

      </ns:SampleRequest>

 

 

But this doesn't (no prefix):

 

      <SampleRequest xmlns=" <urn:SampleDataNamespace>
urn:SampleDataNamespace">

     <Content xsi:type="SubTypeA">

         <Foo></Foo>

           <Bar></Bar>

     

</Content>

      </SampleRequest>

 

Here I get an "Invalid xsi:type qname" error on the SubTypeA type, although
it seems to me that it should be ok as far as I can understand from the
rules at http://www.w3.org/TR/xmlschema-1/#src-qname)

 

Is this a bug or am I missing something?

 

Thanks for any help!



Regards,

 

/Ole

Eviware.ecom

 

 


eviware 

 Ole Matzura
  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
 tel: +46 (0)703 555 000
 fax: +46 (0)8 790 61 19

                
                

 

 

<<image001.gif>>

Reply via email to