<root xmlns:ch11="http://www.xmlLearning.com/chapter11">

<ch11:namespace>

<ch11:valid>This is valid</ch11:valid>

</ch11:namespace>

 

This is example of not well formed or invalid namespace.

//xml prefix is assigned a non-default namespace.

<root xml ="http://www.xmlLearning.com/chapter11">

//Element contains more than one colon.

<ch11::namespace>

//Element does not have closing colon.

<ch11:valid>This is invalid

</ch11:namespace>