You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by EJ Ciramella <ec...@upromise.com> on 2009/08/05 17:24:36 UTC
validate changes document
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?
Re: validate changes document
Posted by Olivier Lamy <ol...@apache.org>.
2009/8/6 EJ Ciramella <ec...@upromise.com>:
> 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:olamy@apache.org]
> 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 <ec...@upromise.com>:
>> 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:olamy@apache.org]
>> 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 <ec...@upromise.com>:
>>> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
>
> --
> Olivier
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Olivier
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: validate changes document
Posted by EJ Ciramella <ec...@upromise.com>.
That should be clarified in the documentation and in the error.
Saying it can't find the "document" element is NOT enough to diagnose this error.
-----Original Message-----
From: Olivier Lamy [mailto:olamy@apache.org]
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 <ec...@upromise.com>:
> 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:olamy@apache.org]
> 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 <ec...@upromise.com>:
>> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Olivier
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: validate changes document
Posted by Olivier Lamy <ol...@apache.org>.
Sure namespace declaration is needed if you use validation.
2009/8/5 EJ Ciramella <ec...@upromise.com>:
> 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:olamy@apache.org]
> 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 <ec...@upromise.com>:
>> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Olivier
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: validate changes document
Posted by EJ Ciramella <ec...@upromise.com>.
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:olamy@apache.org]
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 <ec...@upromise.com>:
> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: validate changes document
Posted by Olivier Lamy <ol...@apache.org>.
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 <ec...@upromise.com>:
> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org