mikeAopeneng / tree-view-list-android

Automatically exported from code.google.com/p/tree-view-list-android
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Unbound prefix error #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Placing the TreeViewList in a layout
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Android

Please provide any additional information below.

The error is shown in a screenshot

Original issue reported on code.google.com by shadowhu...@gmail.com on 30 Oct 2012 at 10:13

Attachments:

GoogleCodeExporter commented 9 years ago
You have to bind the prefix. Specify it in the namespace specification.

Original comment by ja...@potiuk.com on 18 Nov 2012 at 2:17

GoogleCodeExporter commented 9 years ago
I did. The namespace is pl.polidea.treeview.TreeViewList

Original comment by shadowhu...@gmail.com on 22 Nov 2012 at 4:55

GoogleCodeExporter commented 9 years ago
You did not. Please try to understand how namespaces work in XML. you have to 
specify it in the xmlns: tag (currently you only have android namespace 
defined, there is no other namespace you can refer to.

Read this: http://www.w3.org/TR/REC-xml-names/, there are some examples as 
well. Also there is a problem (as far as I remember that you have to use 
project's id namespace rather than library id if you include it from library). 
Experiment it a bit - this part has been pretty much broken by android team.

Original comment by ja...@potiuk.com on 22 Nov 2012 at 9:54