01-24-2008 08:35 AM
01-24-2008 11:39 PM
01-24-2008 11:41 PM
01-25-2008 08:18 AM
01-25-2008 09:53 AM
org.alfresco.web.forms.FormProcessor$ProcessingException: org.alfresco.web.forms.xforms.FormBuilderException: errors parsing schema: at line 37 column 5: The element type "hr" must be terminated by the matching end-tag "". at line -1 column -1: The element type "hr" must be terminated by the matching end-tag "".
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:alf="http://www.alfresco.org" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="/getCreationDate.jsp"/>
<xs:element name="News">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="2" name="Content">
<xs:complexType>
<xs:sequence>
<xs:element name="Title" type="xs:normalizedString" />
<xs:element name="Body" type="xs:string" />
</xs:sequence>
<xs:attribute name="lang">
<xs:simpleType>
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="en">
<xs:annotation>
<xs:appinfo>
<alf:label xmlns:alf="http://www.alfresco.org">English</alf:label>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="fr">
<xs:annotation>
<xs:appinfo>
<alf:label xmlns:alf="http://www.alfresco.org">Français</alf:label>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="Type">
<xs:simpleType>
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="Financial Results" />
<xs:enumeration value="Internal Communications" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PublishingDate" type="xs:date" />
<xs:element name="CreationDate" type="creation_date"/>
<xs:element name="NbForIndex" type="xs:integer">
<xs:annotation>
<xs:appinfo>
<alf:label xmlns:alf="http://www.alfresco.org">How much will appear on index?</alf:label>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false"/>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:alf="http://www.alfresco.org/alfresco" elementFormDefault="qualified">
<xs:simpleType name="creation_date">
<xs:restriction base="xs:normalizedString">
<jsp:element name="xs:normalizedString">
<jsp:attribute name="value"><c:out value="2008-01-25"/></jsp:attribute>
<jsp:body>
<xs:annotation>
<xs:appinfo>
<alf:label><c:out value="CreationDate"/></alf:label>
</xs:appinfo>
</xs:annotation>
</jsp:body>
</jsp:element>
</xs:restriction>
</xs:simpleType>
</xs:schema>
</jsp:root>
01-25-2008 01:33 PM
01-25-2008 01:42 PM
org.alfresco.web.forms.FormProcessor$ProcessingException: org.alfresco.web.forms.xforms.FormBuilderException: error parsing schema: at line 45 column 63: src-resolve: Cannot resolve the name 'creation_date' to a(n) 'type definition' component.01-25-2008 01:46 PM
01-25-2008 01:56 PM
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema xmlns:alf="http://www.alfresco.org/alfresco" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:simpleType name="creation_date">
<xs:restriction base="xs:normalizedString">
<xs:normalizedString value="2008-01-25">
<xs:annotation>
<xs:appinfo>
<alf:label>CreationDate</alf:label>
</xs:appinfo>
</xs:annotation>
</xs:normalizedString>
</xs:restriction>
</xs:simpleType>
</xs:schema>which is unvalid "The 'http://www.w3.org/2001'XMLSchema:normalizedString' element is not supported in this context.01-25-2008 03:44 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.