Hi Łukasz,

The XML Schema API was designed to be isomorphic to the schema components
described by the schema specification. The only place where non-schema
attributes are exposed in the spec is from annotation components [1]. We
might make it easier to read non-schema attributes in the future (e.g.
adding a method to XSAnnotation which returns a list of attribute objects)
but you're still going to be accessing XSAnnotation to retrieve them.

Thanks.

[1] http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#Annotation_details

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

"Łukasz Wycisk" <luc...@gmail.com> wrote on 12/23/2008 10:31:49 AM:

> Hi,
> Why non-schema attributes/values are provided using synthetic
> annotation? Parsing every synthetic annotation is too long. Can non-
> schema attributes/values be added to XSElementDecl?
>
> --
> Pozdrawiam
> Łukasz Wycisk

Reply via email to