Introduce XForms support.
[gpl/argeo-suite.git] / org.argeo.entity.api / src / org / argeo / entity / entity.cnd
index 1ef20a7604a670f553b33148225bc87e4ed4a19a..45be8adee863bbf59498f0f57c4127944e5e39d7 100644 (file)
@@ -1,14 +1,11 @@
-<ldap = 'http://www.argeo.org/ns/ldap'>
-<entity = 'http://www.argeo.org/ns/entity'>
-
-// standard namespaces
+// Standard namespaces
 <xsd = "http://www.w3.org/2001/XMLSchema">
 <h = "http://www.w3.org/1999/xhtml">
-<xforms = "http://www.w3.org/2002/xforms">
-
 // see https://www.w3.org/2003/01/geo/
-<geo = 'http://www.w3.org/2003/01/geo/wgs84_pos#'>
+//<geo = "http://www.w3.org/2003/01/geo/wgs84_pos#">
 
+<ldap = "http://www.argeo.org/ns/ldap">
+<entity = 'http://www.argeo.org/ns/entity'>
 
 [entity:entity] > mix:created, mix:referenceable
 mixin
@@ -43,29 +40,13 @@ orderable
 + * (entity:term) *
 
 //
-// XML
-//
-[entity:xmlvalue] > mix:language
-- *
-+ jcr:xmltext (entity:xmltext)
-
-[entity:xmltext]
- - jcr:xmlcharacters (String) mandatory
-
-//
-// HTML
+// FORM
 //
-[h:head]
-+ h:title (entity:xmlvalue)
-+ h:base (entity:xmlvalue)
-+ h:style (entity:xmlvalue) multiple
-+ h:meta (entity:xmlvalue) multiple
-+ h:link (entity:xmlvalue) multiple
-+ h:script (entity:xmlvalue) multiple
+[entity:form]
+mixin
 
-[h:html]
-+ h:head (h:head)
-+ h:body (nt:unstructured)
+[entity:formSet]
+mixin
 
 // LDAP-LIKE ENTITIES
 // A real person