Hi Elisha,

You don't get the attribute wildcard from the list of attribute uses.  You 
get it via XSComplexTypeDefinition::getAttributeWildcard().  XSWildcard 
objects can represent both element and attribute wildcards.  And note 
there can be only one attribute wildcard associated with a complex type 
definition, so that this is never ambiguous.

Cheers,
Neil
Neil Graham
Manager, XML Parser Development
IBM Toronto Lab
Phone:  905-413-3519, T/L 969-3519
E-mail:  [EMAIL PROTECTED]





"Elisha Berns" <[EMAIL PROTECTED]> 
06/20/2005 07:48 PM
Please respond to
c-dev


To
"Xerces C++ Development" <[email protected]>
cc

Subject
question about 'anyAttribute' declarations and PSVI






Given the following type definition:

<xsd:complexType name="anyType1">
                 <xsd:sequence>
                                 <xsd:element name="name1" 
type="xsd:string"/>
                                 <xsd:any namespace="##any" 
processContents="lax"
minOccurs="0" maxOccurs="unbounded"/>
                 </xsd:sequence>
                 <xsd:attribute name="anyURI1" type="xsd:anyURI" 
use="optional"/>
                 <xsd:anyAttribute namespace="##other" 
processContents="lax"/>
</xsd:complexType>

How is the anyAttribute represented in the PSVI classes, and how do you
get the object representing it from the attribute use list?

Thanks,

Elisha Berns
[EMAIL PROTECTED]
tel. (310) 556 - 8332
fax (310) 556 - 2839




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to