Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Retrieving documentation from an <xsd:pattern> within a schema
Retrieving documentation from an <xsd:pattern> within a schema [message #592695] Thu, 25 November 2004 15:42
Ray is currently offline RayFriend
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:documentation>The ISBN is a unique code identifying the
book</xs:documentation> ///I can get this one
<xs:restriction base="xs:string">
<xs:pattern value="[a-z]{3}(-[0-9]{6})?">
<xs:documentation>A string of the form
aaa-xxxxxx</xs:documentation> ///I can't get this one

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,

Previous Topic:Using XSD API with DOM
Next Topic:Error using sequence
Goto Forum:

Current Time: Thu Jun 21 03:07:28 GMT 2018

Powered by FUDForum. Page generated in 0.02069 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top