Hey guys, sorry for the blatant necro. I'm having some issues in implementing a property group. The error is
Code: Select allThe content of element type "select" is incomplete, it must match "(option+,validator*)"
Now, I think I don't have the proper code for the validator part. I have the options in for the select, but I have no idea what and where to put the validator part. Below is my .xml code.
Code: Select all<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.0//EN"
"http://www.openkm.com/dtd/property-groups-2.0.dtd">
<property-groups>
<property-group label="Book" name="okg:book">
<input label="Title" type="text" name="okp:book.title"/>
<input label="Author(s)" type="text" name="okp:book.author"/>
<input label="Publisher" type="text" name="okp:book.publisher"/>
<input label="ISBN" type="text" name="okp:book.isbn" />
<input label="Language" type="text" name="okp:book.language"/>
<checkbox label="Sorted?" name="okp:book.sorted"/>
<textarea label="Description" name="okp:book.description"/>
</property-group>
<property-group label="Article" name="okg:article">
<input label="Title" type="text" name="okp:article.title"/>
<input label="Author(s)" type="text" name="okp:article.author"/>
<input label="Journal" type="text" name="okp:article.journal"/>
<input label="Volume No." type="text" name="okp:article.volume" />
<input label="Issue No." type="text" name="okp:article.issue" />
<input label="Year of Publication (yyyy)" type="text" name="okp:article.pubyear" />
<input label="Language" type="text" name="okp:article.language"/>
<checkbox label="Sorted?" name="okp:article.sorted"/>
<textarea label="Description" name="okp:article.description"/>
</property-group>
<property-group label="Video" name="okg:video">
<input label="Title" type="text" name="okp:video.title"/>
<input label="Author(s)" type="text" name="okp:video.author"/>
<select label="Type" type="multiple" name="okp:video.type"/>
<option label="Documentary" value="documentary" />
<option label="Film" value="film" />
<option label="TV Show" value="tvshow" />
<option label="Experimentation" value="experimentation" />
</select>
<input label="Publisher" type="text" name="okp:video.publisher" />
<input label="Language" type="text" name="okp:video.language"/>
<checkbox label="Sorted?" name="okp:video.sorted"/>
<textarea label="Description" name="okp:video.description"/>
</property-group>
<property-group label="Write Up/Report" name="okg:report">
<input label="Title" type="text" name="okp:report.title"/>
<input label="Author(s)" type="text" name="okp:report.author"/>
<input label="Language" type="text" name="okp:report.language"/>
<checkbox label="Sorted?" name="okp:report.sorted"/>
<textarea label="Description" name="okp:report.description"/>
</property-group>
</property-groups>
I'm sure it is just something small that I have overlooked or something like that. I'm running the latest version of OpenKM (downloaded and install just a few days ago) on Ubuntu 11.04.