I'm trying to process the following XML Schema using the Apache XMLSchema
1.0.3 API.
<xs:simpleType name="Timestamp" basel:isdate="Yes"
basel:dateformat="yyyy-MM-dd HH:mm:ss">
<xs:restriction base="xs:string">
<xs:pattern
value="\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])
([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])"/>
</xs:restriction>
</xs:simpleType>
Non-standard XMLSchema attributes (here basel:isDate, basel:dateformat
etc.) are included in the schema definition.
Does XmlSchema provide any support for retaining this application specific
attributes to be later read by some custom code? I haven't found any API to
read this from the schema information returned by the XmlSchema parser.
Should information of this kind rather be modeled as annotation/appinfo -
for which in fact is support by XmlSchema?
Thanks
Martin
--
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl