0

Can't use  

asked 2008-06-18 06:05:26 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5039387

By: firedup0205

Hi all
I associate ZK tag in Jsp page ... and in Jsp page i use namespace

<html xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:x="http://www.zkoss.org/2005/zul"
xmlns:zk="http://www.zkoss.org/2005/zk">
<head>
<title>ZHTML Demo</title>
</head>
<body>
...........
<x:include src="BannerTren.jsp"/>
...........
</body>
</html>



--- BannerTren.jsp have tag   but when i run this web, it displays an error:

Cause: org.xml.sax.SAXParseException: The entity "nbsp" was referenced, but not declared.
org.zkoss.zk.ui.UiException: org.xml.sax.SAXParseException: The entity "nbsp"
was referenced, but not declared.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.zkoss.lang.Classes.newInstance(Classes.java:78)
at org.zkoss.lang.Exceptions.wrap(Exceptions.java:164)
at org.zkoss.zk.ui.UiException$Aide.wrap(UiException.java:46)
at org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinitionDirectly(PageDefin
itions.java:98)
at org.zkoss.zk.ui.metainfo.PageDefinitions.getPageDefinitionDirectly(PageDefin
itions.java:71)
...


Help me please!... i want to use tag  

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-06-18 06:17:37 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5039402

By: khevz08

Please post the part of your code where you use  . But I think you can directly put "spaces" in your code without the use of  .

link publish delete flag offensive edit

answered 2008-06-18 07:39:32 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=5039533

By: henrichen

The XML parser does not "know"   escape. Try use the   instead.

/henri

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-06-18 06:05:26 +0800

Seen: 243 times

Last updated: Jun 18 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More