Retrieving documentation from an <xsd:pattern> within a schema [message #592695] |
Thu, 25 November 2004 15:42 |
Ray Messages: 9 Registered: July 2009 |
Junior Member |
|
|
Hi there,
I'm having trouble retrieving the text from a documentation element
contained within an annotation within an <xs:pattern> element. Through the
API i can successfully get the text from annotations/documentation within
other parts, such as element declarations or type definitions, just not when
the annotation is within the pattern. Here's an example
<xs:simpleType name="ISBN">
<xs:annotation>
<xs:documentation>The ISBN is a unique code identifying the
book</xs:documentation> ///I can get this one
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[a-z]{3}(-[0-9]{6})?">
<xs:annotation>
<xs:documentation>A string of the form
aaa-xxxxxx</xs:documentation> ///I can't get this one
</xs:annotation>
</xs:pattern>
</xs:restriction>
</xs:simpleType>
I'm wondering if this is a known bug, or if i'm missing something obvious.
If it is a bug, any ideas how to go about submitting it?
Thanks very much for your help,
Ray
|
|
|
Powered by
FUDForum. Page generated in 0.03576 seconds