ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <>
Subject [jira] Commented: (IVY-750) XML schema ambiguity
Date Wed, 06 Aug 2008 12:52:44 GMT


Steve Loughran commented on IVY-750:

I should warn that ##other is interpreted differently by different parsers. As long as everyone
only uses xerces, all is well, but some (certainly the .NET ones) have different rules about
##local being in/out the ##other namespace.

> XML schema ambiguity
> --------------------
>                 Key: IVY-750
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Adrian Sandor
>            Assignee: Xavier Hanin
>             Fix For: 2.0-RC1
> While running ivy built from svn, trying to resolve an ivy file, I got this message:
> [Error] :43:30: cos-nonambig: "":license and WC[##any] (or elements from their substitution
group) violate "Unique Particle Attribution". During validation against this schema, ambiguity
would be created for those two particles.
> It doesn't seem to affect the functionality.
> Xavier commented: "this probably due to the xs:any we have added in the info tag definition
in our xsd. Adding a namespace="##other" to the xs:any to tell the parser that any element
*from other namespace* is allowed should fix the problem"
> Also see IVY-156

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message