2009/8/6 EJ Ciramella <[email protected]>: > That should be clarified in the documentation and in the error.
Agree concerning documentation. > > Saying it can't find the "document" element is NOT enough to diagnose this > error. We can only display the one coming from the xml parser... > > -----Original Message----- > From: Olivier Lamy [mailto:[email protected]] > Sent: Wednesday, August 05, 2009 11:36 AM > To: Maven Users List > Subject: Re: validate changes document > > Sure namespace declaration is needed if you use validation. > > 2009/8/5 EJ Ciramella <[email protected]>: >> Nope, is that needed? And if it is, that should be called out in the >> site output for the changes plugin... >> >> -----Original Message----- >> From: Olivier Lamy [mailto:[email protected]] >> Sent: Wednesday, August 05, 2009 11:28 AM >> To: Maven Users List >> Subject: Re: validate changes document >> >> Hi, >> Do you have declared namespaces ? >> >> As this : >> <document xmlns="http://maven.apache.org/changes/1.0.0" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 >> http://maven.apache.org/xsd/changes-1.0.0.xsd"> >> >> -- >> Olivier >> >> 2009/8/5 EJ Ciramella <[email protected]>: >>> Hello all - I'd like to leverage the "validate-changes" part of the >>> maven-changes-plugin, but no matter what I do, I get this: >>> >>> Caused by: >>> org.apache.maven.plugin.changes.schema.SchemaValidatorException: >>> SAXException : cvc-elt.1: Cannot find the declaration of element >>> 'document'. >>> >>> Even when clearly it has a "document" element. >>> >>> Any ideas? >>> >> >> >> >> -- >> Olivier >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > -- > Olivier > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Olivier --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
