[midPoint] Re. Undeclared namespace prefix
Pavol Mederly
mederly at evolveum.com
Thu Apr 24 12:30:17 CEST 2014
Hello Deepak,
the majority of such messages came from a bug in midPoint (they were
harmless but annoying). I've fixed the bug just now and pushed the fix.
Such warnings can still occur if XML is parsed via web services
interface, because of JAXB limitations. If you would came across it in a
situation other than that, please let me know.
The most clean way how to deal with such a warning (e.g. when calling
midPoint via web services) is to explicitly declare the namespace in
question, e.g.:
from
<path>$c:user/c:givenName</path>
to
<path>declare namespace
c="http://midpoint.evolveum.com/xml/ns/public/common/common-2a";
$c:user/c:givenName</path>
Best regards,
Pavol
On 22. 4. 2014 19:11, Deepak Natarajan wrote:
> Hi -
>
> My dev idm log is filling up with the following warnings :
>
> I have not seen these before. Hmmm. Any suggestions for a fix off the
> top of anyones mind?
>
> Thanks!
>
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'apos'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'apos'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,533 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'c'. Default matching will be used to find namespace.
> 2014-04-22 17:00:11,534 [] [midPointScheduler_Worker-8] WARN
> (com.evolveum.midpoint.prism.parser.XPathHolder): Undeclared namespace
> prefix 'apos'. Default matching will be used to find namespace.
>
> BR/deepak
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
More information about the midPoint
mailing list