Lift XML Parsing Error
Posted
by bstevens90
on Stack Overflow
See other posts from Stack Overflow
or by bstevens90
Published on 2010-06-03T20:21:43Z
Indexed on
2010/06/03
20:24 UTC
Read the original article
Hit count: 335
I know there are other questions on this and I have read through almost all of them and none of them solved my problem.
I have inside a home directory:
def search(in: NodeSeq) : NodeSeq = {
bind("work", in,
"docId" -> text("", did = _),
"visitId" -> text("", vid = _),
"provider" -> text("", prov = _),
"emCode" -> text(ecode, ecode = _))
}
along with:
<lift:home.searchForm form="POST" multipart="true" >
<table>
<tr>
<td>DocId</td>
<td>VisitId</td>
<td>Provider</td>
<td>EanMCode</td>
</tr>
<tr>
<td><work:docId /></td>
<td><work:visitId /></td>
<td><work:provider /></td>
<td><work:emCode /></td>
<td><button>Click Me!</button></td>
</tr>
</table>
</lift:home.searchForm>
Inside an html page. I have included xmlns:lift="http://liftweb.net/" in default.... I can't find anyway to fix this... I am getting
XML Parsing Error: prefix not bound to a namespace
Location: http://localhost:8080/
Line Number 29, Column 10: <td><work:docId></work:docId></td>
in firefox. I have written similar code and had it working in another app and just cant even find anything im doing different thats not trivial naming...
Thanks in advance!
© Stack Overflow or respective owner