I thought that Dan Kulp added some scheme for suppressing Aegis validation, but maybe he just made it tolerate parsers that don't validate at all. If you open a JIRA I or someone will add some way to turn this off.
On Wed, Mar 26, 2008 at 4:25 PM, Dave Kallstrom <[EMAIL PROTECTED]> wrote: > I have been forced to include xerces 2.9 in my classpath. This is causing > validation exceptions with my aegis mapping files. > Is there anyway to make aegis mapping files work with xerces? Here is a > sample. > > <mappings xmlns:np="http://www.mylocal.com" xmlns:xsd=" > http://www.w3.org/2001/XMLSchema"> > <mapping name="np:WSSession"> > <property name="sessionId" mappedName="sessionId"/> > <property name="username" mappedName="username"/> > </mapping> > </mappings> > > And here is the error > cvc-complex-type.3.2.2: Attribute 'name' is not allowed to appear in > element > 'mapping'. at /webservices/WSSession.aegis.xml line 2 column 32. > org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'name' is > not allowed to appear in element 'mapping'. > > When I remove xerces from the classpath everything works. But like I said > I > have to include it for other code that cannot be changed. > -- > Dave Kallstrom >
