ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

XSD Schema for native and xhtml namespaces

mrespog
25 Feb 2010 03:38:23 GMT
25 Feb 2010 03:38:23 GMT

Hello guys,
in the dist/xsd directory of the ZK binary distribution I can find the zul.xsd schema file. This file is very useful for auto-completion in my Eclipse since I use a code like the following

<window
xmlns="http://www.zkoss.org/2005/zul"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">

In many of my pages I must use also native and xhtml namespaces

<z:window
xmlns:z="http://www.zkoss.org/2005/zul"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd"
xmlns:h="http://www.zkoss.org/2005/zk/native"
xmlns:k="http://www.w3.org/1999/xhtml">

but for those namespaces autocompletion doesn't work: I think the problem is I don't know nothig about schema files for those namespace!

Where can I find the approprieate schema file?
How can I use them in my zul pages?

Thanks a lot

Matteo

samchuang
18 Mar 2010 22:02:13 GMT
18 Mar 2010 22:02:13 GMT

Hi

The zk studio doesn't use the xsd file in jar file, if you need this feature

you could post to feature request of zk studio.