No grammar constraints (DTD or XML schema) detected for the document. in zk.xml file

asked 2009-01-26 12:53:28 +0800

cmaniac gravatar image cmaniac
30 1 2

Hi all of ZK team,

Sorry if it's a stupid question but.. In eclipse apperars the following warning "No grammar constraints (DTD or XML schema) detected for the document." and that's for zk.xml,. how I can resolve this without turn off warnings in eclipse? I suppose that the answer its something like "<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"....>"


delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-02-02 05:11:00 +0800

iantsai gravatar image iantsai
2755 1

do you modified zk.xml in other external editors?

If you already have DTD declaration and still bombed by this problem, maybe your zk.xml was been added some incorrect BOM by your editor.

for header settings, you can download ZK Demo to get it, but as I remembered there's no such requirement in zk.xml.

link publish delete flag offensive edit

answered 2015-06-05 13:57:34 +0800

djerman gravatar image djerman flag of Serbia
0 1

updated 2015-06-05 13:58:34 +0800

I solve this with "!DOCTYPE xml" after "?xml version="1.0" encoding="UTF-8"?"

link publish delete flag offensive edit

answered 2024-03-29 09:36:30 +0800

asdrubal159 gravatar image asdrubal159

tengo el mismo problema , pudiste resolver ?

I have the same problem, were you able to solve it?

link publish delete flag offensive edit

answered 2024-04-03 09:18:24 +0800

hawk gravatar image hawk
3250 1 5
http://hawkphoenix.blogsp... ZK Team

please see https://www.zkoss.org/wiki/ZKConfigurationReference/zk.xml#XMLSchemaDefinition

add schema below in zk.xml

<zk xmlns="http://www.zkoss.org/2005/zk/config"
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




Asked: 2009-01-26 12:53:28 +0800

Seen: 4,474 times

Last updated: Apr 03

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