[xsd-users] Problem with xs:extension

Boris Kolpackov boris at codesynthesis.com
Wed May 31 08:21:54 EDT 2006


Hi Thomas,

thomas.biedermann at ubs.com <thomas.biedermann at ubs.com> writes:

> Hi there,
> I have encountered a problem with the schema below. xsd doesn't accept a
> annotation within <xs:extension>. xsd emits the following errors:
>
> error: unexpected element 'annotation'
> error: expected 'attribute', 'anyAttribute', or 'attributeGroup' instead
> of 'sequence'
>
> If I remove the annotation tag, everything works fine.
> According to w3.org an annotation is allowed within an extension
> (although it's marked optional). It would be great if you could help me
> here.

This is a bug. Thanks for reporting it! I've fixed it for the next release.
If you would like, I can build you a pre-release binary with the fix. Just
let me know which platform(s) you need.


hth,
-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060531/65b2207f/attachment.pgp


More information about the xsd-users mailing list