AnsweredAssumed Answered

Is there a way to edit / validate our .xsd for WebForm???

Question asked by xexiz on Dec 17, 2007
Latest reply on Dec 23, 2007 by kvc
Hello, i'm trying to make a WebForm but I didnt find a validator anywhere and I can't make it work and since I dont know if there is a way to edit our xsd after we created the webform, I am doing it over and over, then add it to a web project then try to "create content" and then there is always an error so I guess my form isnt well formed yet :(

The form is to make an xml file with approximately this structure:

– title
– location
– expiration_date

I want to be able to do like the body of the press-release (there is an + button adding another textarea, but well I want this + to add a title, body and language input.)

<?xml version="1.0"?>
<xs:schema xmlns:xs="">
  <xs:simpleType name="language">
    <xs:restriction base="xs:normalizedString">
      <xs:enumeration value="French"/>
      <xs:enumeration value="English"/>

  <!– defines the form for creating a press release –>
  <xs:element name="web_page">
        <xs:element name="title" type="xs:normalizedString"/>
        <xs:element name="location" type="xs:normalizedString"/>
        <xs:sequence minOccurs="1" maxOccurs="unbounded">
           <xs:element name="title" type="xs:normalizedString"/>
           <xs:element name="language" type="language/> <!– My personal type define on top –>
           <xs:element name="body" type="xs:string"/>
   <xs:element name="expiration_date" type="xs:date"/>
having this error code for now..
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/acf950ab-aa83-11dc-a736-d7f2cb8da3db

By the way… is there a way to avoid creating over and over the WebForm and adding it to the WebProject, because it will take me a week to made it if there is no other way to refresh a form and make sure the modification are taken in the WebProject..