Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Notation Declaration valid or not

From: George Cristian Bina <george@---------.--->
To: bharathkr@------.---
Date: 12/5/2008 12:20:00 PM
That is invalid.
If you look into the schema for schemas you can see that notation 
derives from openAttrs with the following definition:

<xs:complexType name="openAttrs">
     <xs:annotation>
         <xs:documentation> This type is extended by almost all schema 
types to allow attributes from other
             namespaces to be added to user schemas.</xs:documentation>
     </xs:annotation>
     <xs:complexContent>
         <xs:restriction base="xs:anyType">
             <xs:anyAttribute namespace="##other" processContents="la=
x"/>
         </xs:restriction>
     </xs:complexContent>
</xs:complexType>

That allows any attributes from other namespace but not from the XML 
schema namespace http://www.w3.org/2001/XMLSchema, while your attribute 
   is exactly in that namespace.

Best Regards,
George
-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
www.---.com

bharath wrote:
> Hi..
> 
> Can u please tell me whether the following  notation is valid or not=85=
 
> where there is an attribute =93a:b="c"=94 in the declaration.
> 
>  
> 
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> 
>        <xsd:notation a:b="c" name="jpeg" public="image/jpeg" 
> system="viewer.exe" xmlns:a="http://www.w3.org/2001/XMLSchema"/>
> 
> </xsd:schema>
> 
>  
> 
> Thanks and Regards,
> 
> Bharath.
> 
>  
> 
> ***********************************************************************=
*********************************
>  This e-mail and attachments contain confidential information from 
> HUAWEI, which is intended only for the person or entity whose address i=
s 
> listed above. Any use of the information contained herein in any way 
> (including, but not limited to, total or partial disclosure, 
> reproduction, or dissemination) by persons other than the intended 
> recipient's) is prohibited. If you receive this e-mail in error, please=
 
> notify the sender by phone or email immediately and delete it!
> 
>  
> 

From mike@s... Fri Dec 05 08:54:54 2008
Received: from maggie.w3.org ([193.51.208.68])
	by frin


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent