Zk xsd not correct

asked 2018-12-07 18:29:42 +0800

Vakobo gravatar image Vakobo
1 1

updated 2018-12-07 18:31:14 +0800

I use //www.zkoss.org/2005/zul/zul.xsd to validate zul. But this xsd not allow use

tags: div, image

attributes: border, vflex, sclass

Is better xsd exists to fix this problem?

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-12-11 18:17:38 +0800

MDuchemin gravatar image MDuchemin
1501 1 5
ZK Team

Hello Vakobo,

Are you using the zul schema to validate xhtml components? There is 2 namespaces (zul and xhtml) which contains similar objects, some with the same names (like div which exists in both) https://www.zkoss.org/wiki/ZUMLReference/ZUML/Languages/XHTML https://www.zkoss.org/wiki/ZUMLReference/ZUML/Languages/ZUL

zul:div doesn't have a border attribute, so that would be expected. it does have a vflex and a sclass declared in the xsd, so I'm not sure why they are not showing up on your side.

can you send your document root with declarations? or your setup?

link publish delete flag offensive edit
Your answer
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: 2018-12-07 18:29:42 +0800

Seen: 9 times

Last updated: Dec 11 '18

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