diff options
| author | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2003-12-03 10:03:03 +0000 | 
|---|---|---|
| committer | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2003-12-03 10:03:03 +0000 | 
| commit | 907948870ba41526b076e4bb2e9861b805c0f052 (patch) | |
| tree | 4c3830987b8ff3bad8cda549b87c12239136397a | |
| parent | 1d39a4fa10f410c5d4fdcc64413b9e0f0372f9e1 (diff) | |
| download | moa-id-spss-907948870ba41526b076e4bb2e9861b805c0f052.tar.gz moa-id-spss-907948870ba41526b076e4bb2e9861b805c0f052.tar.bz2 moa-id-spss-907948870ba41526b076e4bb2e9861b805c0f052.zip | |
Zwischenstand
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@70 d688527b-c9ab-4aba-bd8d-4036d912da1d
23 files changed, 2607 insertions, 2 deletions
| diff --git a/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java b/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java index db67ac411..904640b71 100644 --- a/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java +++ b/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/beans/DataInfoBean.java @@ -419,9 +419,10 @@ public class DataInfoBean implements HttpSessionBindingListener      }      Element contentElem = (Element) contentNL.item(0); -    // Get signature environment document form siganture environment content +    // Get signature environment document from signature environment content      String contentElemLocName = contentElem.getLocalName();      Element sigEnvElem = null; +    Element oldDocElem = null;      if (XMLCONT_ELEM_.equals(contentElemLocName))      {        // XML content @@ -432,6 +433,7 @@ public class DataInfoBean implements HttpSessionBindingListener          if (currContNode.getNodeType() == Node.ELEMENT_NODE)          {            sigEnvElem = (Element) currContNode; +          oldDocElem = (Element) moaRequestDoc.replaceChild(sigEnvElem, moaRequestDoc.getDocumentElement());            break;          }        } @@ -498,6 +500,9 @@ public class DataInfoBean implements HttpSessionBindingListener        logger_.error(message);        throw new Exception(message);      } +     +    if (oldDocElem != null) moaRequestDoc.replaceChild(oldDocElem, moaRequestDoc.getDocumentElement()); +          return (Element) sigElemNL.item(0);    }  } diff --git a/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/servlets/HashInputDataServlet.java b/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/servlets/HashInputDataServlet.java index 193a15a9e..3a78b07f4 100644 --- a/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/servlets/HashInputDataServlet.java +++ b/spss.slinterface/WEB-INF/src/at/gv/egovernment/moa/spss/slinterface/servlets/HashInputDataServlet.java @@ -72,7 +72,9 @@ public class HashInputDataServlet extends HttpServlet      String hidFilename = dataInfo.getHashInputDataFilename();      // Set response headers -    response.setContentType("application/octet-stream"); +    boolean isSLXHTML = dataInfo.getIsSLXHTMLDocument(); +    String contenType = (isSLXHTML) ? "text/html" : "application/octet-stream"; +    response.setContentType(contenType);      // Write content from temporary HID file to response OS      try diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml-model-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml-model-1.xsd new file mode 100644 index 000000000..140b35e84 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml-model-1.xsd @@ -0,0 +1,388 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      This is the XML Schema module of named XHTML content models for SLXHTML.
 +      SLXHTML is a profile of XHTML (see W3C copyright notice below).
 +
 +      @author: Gregor Karlinger gregor.karlinger@cio.gv.at
 +      $Id: slxhtml-model-1.xsd,v 1.2 2003/11/13 18:38:16 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +  
 +  <xs:annotation>
 +    <xs:documentation>
 +      XHTML Document Model
 +
 +      This module describes the groupings of elements/attributes that make up
 +      common content models for XHTML elements.
 +
 +      XHTML has following basic content models:
 +
 +          Inline.mix;          character-level elements
 +          Block.mix;           block-like elements, eg., paragraphs and lists
 +          Flow.mix;            any block or inline elements
 +          HeadOpts.mix;        Head Elements
 +          InlinePre.mix;       Special class for pre content model
 +          InlineNoAnchor.mix;  Content model for Anchor
 +
 +      Any groups declared in this module may be used
 +      to create element content models, but the above are
 +      considered 'global' (insofar as that term applies here).
 +      
 +      XHTML has the following Attribute Groups
 +           Core.extra.attrib
 +           I18n.extra.attrib
 +           Common.extra
 +           
 +      The above attribute Groups are considered Global      
 +      
 +    </xs:documentation>
 +  </xs:annotation>  
 +    
 +  <xs:attributeGroup name="I18n.extra.attrib">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: attributeGroup "dir.attrib" removed.
 +      </xs:documentation>
 +    </xs:annotation>  
 +  </xs:attributeGroup>
 +
 +  <xs:attributeGroup name="Common.extra">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: attributeGroup "style.attrib" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +  </xs:attributeGroup>
 +
 +  <xs:attributeGroup name="Core.extra.attrib">
 +  </xs:attributeGroup>
 +
 +    
 +  <xs:group name="HeadOpts.mix">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: elements "script", "meta", "link", "object" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice>
 +      <xs:element ref="style"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="Edit.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: elements "ins", "del" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice/>
 +  </xs:group>
 +
 +  <xs:group name="Script.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: elements "script", "noscript" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice/>
 +  </xs:group>
 +
 +  <xs:group name="Misc.extra">
 +    <xs:choice/>
 +  </xs:group>
 +
 +  <xs:group name="Misc.class">
 +    <xs:choice>
 +      <xs:group ref="Edit.class"/>
 +      <xs:group ref="Script.class"/>
 +      <xs:group ref="Misc.extra"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="InlStruct.class">
 +    <xs:choice>
 +      <xs:element ref="br"/>
 +      <xs:element ref="span"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="InlPhras.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: elements "dfn", "samp", "kbd", "var", "q" , "abbr" and
 +                 "acronym" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice>
 +      <xs:element ref="em"/>
 +      <xs:element ref="strong"/>
 +      <xs:element ref="code"/>
 +      <xs:element ref="cite"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="InlPres.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: elements "tt", "i", "b", "big", "small", "sub", "sup" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice/>
 +  </xs:group>
 +
 +  <xs:group name="I18n.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: element "bdo" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:sequence/>
 +  </xs:group>
 +
 +  <xs:group name="Anchor.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: element "a" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:sequence/>
 +  </xs:group>
 +
 +  <xs:group name="InlSpecial.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: elements "map", "object" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice>
 +      <xs:element ref="img"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="InlForm.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: elements "input", "select", "textara", "lable", "button" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice/>
 +  </xs:group>
 +
 +  <xs:group name="Inline.extra">
 +    <xs:choice/>
 +  </xs:group>
 +
 +  <xs:group name="Ruby.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: element "ruby" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:sequence/>
 +  </xs:group>
 +
 +  <xs:group name="Inline.class">
 +    <xs:choice>
 +      <xs:group ref="InlStruct.class"/>
 +      <xs:group ref="InlPhras.class"/>
 +      <xs:group ref="InlPres.class"/>
 +      <xs:group ref="I18n.class"/>
 +      <xs:group ref="Anchor.class"/>
 +      <xs:group ref="InlSpecial.class"/>
 +      <xs:group ref="InlForm.class"/>
 +      <xs:group ref="Ruby.class"/>
 +      <xs:group ref="Inline.extra"/>
 +    </xs:choice>
 +  </xs:group>
 +  
 +  <xs:group name="InlNoRuby.class">
 +    <xs:choice>
 +      <xs:group ref="InlStruct.class"/>
 +      <xs:group ref="InlPhras.class"/>
 +      <xs:group ref="InlPres.class"/>
 +      <xs:group ref="I18n.class"/>
 +      <xs:group ref="Anchor.class"/>
 +      <xs:group ref="InlSpecial.class"/>
 +      <xs:group ref="InlForm.class"/>
 +      <xs:group ref="Inline.extra"/>
 +    </xs:choice>
 +  </xs:group>
 +  
 +  <xs:group name="InlinePre.mix">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: elements "tt", "i", "b", "script", "map" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice>
 +      <xs:group ref="InlStruct.class"/>
 +      <xs:group ref="InlPhras.class"/>
 +      <xs:group ref="I18n.class"/>
 +      <xs:group ref="Anchor.class"/>
 +      <xs:group ref="Inline.extra"/>
 +    </xs:choice>
 +  </xs:group>  
 +
 +  <xs:group name="InlNoAnchor.class">
 +    <xs:choice>
 +      <xs:group ref="InlStruct.class"/>    
 +      <xs:group ref="InlPhras.class"/>
 +      <xs:group ref="InlPres.class"/>
 +      <xs:group ref="I18n.class"/>
 +      <xs:group ref="InlSpecial.class"/>
 +      <xs:group ref="InlForm.class"/>
 +      <xs:group ref="Ruby.class"/>
 +      <xs:group ref="Inline.extra"/>
 +    </xs:choice>
 +  </xs:group>
 +  
 +  <xs:group name="InlNoAnchor.mix">
 +    <xs:choice>
 +      <xs:group ref="InlNoAnchor.class"/>
 +      <xs:group ref="Misc.class"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="Inline.mix">
 +    <xs:choice>
 +      <xs:group ref="Inline.class"/>
 +      <xs:group ref="Misc.class"/>
 +    </xs:choice>
 +  </xs:group>
 +  
 +  <xs:group name="InlNoRuby.mix">
 +    <xs:choice>
 +      <xs:group ref="InlNoRuby.class"/>
 +      <xs:group ref="Misc.class"/>      
 +    </xs:choice>
 +  </xs:group>
 +  
 +  <xs:group name="Heading.class">
 +    <xs:choice>
 +      <xs:element ref="h1"/>
 +      <xs:element ref="h2"/>
 +      <xs:element ref="h3"/>
 +      <xs:element ref="h4"/>
 +      <xs:element ref="h5"/>
 +      <xs:element ref="h6"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="List.class">
 +    <xs:choice>
 +      <xs:element ref="ul"/>
 +      <xs:element ref="ol"/>
 +      <xs:element ref="dl"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="Table.class">
 +    <xs:choice>
 +      <xs:element ref="table"/>
 +    </xs:choice>
 +  </xs:group>
 +  
 +  <xs:group name="Form.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: element "form" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice/>
 +  </xs:group>  
 +
 +  <xs:group name="Fieldset.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: element "fieldset" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice/>
 +  </xs:group>  
 +    
 +  <xs:group name="BlkStruct.class">
 +    <xs:choice>
 +      <xs:element ref="p"/>
 +      <xs:element ref="div"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="BlkPhras.class">
 +    <xs:annotation>
 +      <xs:documentation>
 +        SLXHTML: element "address" removed.
 +       </xs:documentation>
 +    </xs:annotation>      
 +    <xs:choice>
 +      <xs:element ref="pre"/>
 +      <xs:element ref="blockquote"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="BlkPres.class">
 +    <xs:sequence>
 +      <xs:element ref="hr"/>
 +    </xs:sequence>
 +  </xs:group>
 +
 +  <xs:group name="BlkSpecial.class">
 +    <xs:choice>
 +      <xs:group ref="Table.class"/>
 +      <xs:group ref="Form.class"/>
 +      <xs:group ref="Fieldset.class"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="Block.extra">
 +    <xs:choice/>
 +  </xs:group>
 +
 +  <xs:group name="Block.class">
 +    <xs:choice>
 +      <xs:group ref="BlkStruct.class"/>
 +      <xs:group ref="BlkPhras.class"/>
 +      <xs:group ref="BlkPres.class"/>
 +      <xs:group ref="BlkSpecial.class"/>
 +      <xs:group ref="Block.extra"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="Block.mix">
 +    <xs:choice>
 +      <xs:group ref="Heading.class"/>
 +      <xs:group ref="List.class"/>
 +      <xs:group ref="Block.class"/>
 +      <xs:group ref="Misc.class"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="Flow.mix">
 +    <xs:choice>
 +      <xs:group ref="Heading.class"/>
 +      <xs:group ref="List.class"/>
 +      <xs:group ref="Block.class"/>
 +      <xs:group ref="Inline.class"/>
 +      <xs:group ref="Misc.class"/>
 +    </xs:choice>
 +  </xs:group>
 +
 +  <xs:group name="BlkNoForm.mix">
 +    <xs:choice>
 +      <xs:group ref="Heading.class"/>
 +      <xs:group ref="List.class"/>
 +      <xs:group ref="BlkStruct.class"/>
 +      <xs:group ref="BlkPhras.class" />
 +      <xs:group ref="BlkPres.class"/>
 +      <xs:group ref="Table.class"/>
 +      <xs:group ref="Block.extra"/>
 +      <xs:group ref="Misc.class"/>
 +    </xs:choice>
 +  </xs:group>  
 +    
 +</xs:schema>
\ No newline at end of file diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml-module-redefines-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml-module-redefines-1.xsd new file mode 100644 index 000000000..d58fe93f0 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml-module-redefines-1.xsd @@ -0,0 +1,253 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      This XML Schema declares changes to the content models
 +      of modules included in SLXHTML 1.0
 +      $Id: slxhtml-module-redefines-1.xsd,v 1.3 2003/12/02 19:34:37 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +  
 +  <xs:annotation>
 +    <xs:documentation>
 +      Module Content Model Redefinitions 
 +      
 +      This schema describes the changes (Redefinitions) to the
 +      content model of individual modules as they are instantiated as part of 
 +      SLXHTML 1.0 Document
 +    </xs:documentation>
 +  </xs:annotation>
 +
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +  <!-- Changes to Structural Module -->
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +
 +  <xs:redefine schemaLocation="xhtml-struct-1.xsd">
 +
 +     <xs:group name="head.content">
 +       <xs:annotation>
 +         <xs:documentation>
 +           Redefinition by SLXHTML: Only a single instance of element "style" is 
 +           allowed apart from the obligatory "title" element.
 +         </xs:documentation>
 +       </xs:annotation>      
 +       <xs:sequence>
 +        <xs:element ref="title"/>
 +        <xs:element ref="style" minOccurs="0"/>
 +       </xs:sequence>
 +     </xs:group>
 +
 +     <xs:attributeGroup name="version.attrib">
 +       <xs:annotation>
 +         <xs:documentation>
 +            Redefinition by SLXHTML: Change value of the version attrib.
 +         </xs:documentation>
 +       </xs:annotation>         
 +       <xs:attribute name="version" type="FPI" fixed="-//www.buergerkarte.at//DOCUMENT SLXHTML 1.0//DE"/>
 +     </xs:attributeGroup>
 +     
 +	   <xs:attributeGroup name="profile.attrib">
 +       <xs:annotation>
 +         <xs:documentation>
 +            Redefinition by SLXHTML: Removed profile attrib.
 +         </xs:documentation>
 +       </xs:annotation>         
 +	   </xs:attributeGroup>
 +
 +  </xs:redefine>  
 +
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +  <!-- Changes to common attributes module (included in framework module) -->
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +
 +  <xs:redefine schemaLocation="xhtml-framework-1.xsd">
 +
 +    <xs:attributeGroup name="I18n.attrib">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: Removed xml:lang attrib.
 +        </xs:documentation>
 +      </xs:annotation>         
 +      <xs:attributeGroup ref="I18n.extra.attrib"/>
 +    </xs:attributeGroup>
 +  
 +    <xs:attributeGroup name="title">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: Removed title attrib.
 +        </xs:documentation>
 +      </xs:annotation>         
 +    </xs:attributeGroup>
 +
 +  </xs:redefine>  
 +
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +  <!-- Changes to block phrasal elements module (included in text module) -->
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +
 +  <xs:redefine schemaLocation="xhtml-text-1.xsd">
 +
 +    <xs:attributeGroup name="blockquote.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: Removed cite attrib.
 +        </xs:documentation>
 +      </xs:annotation>         
 +      <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +
 +  </xs:redefine>  
 +
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +  <!-- Changes to images module -->
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +
 +  <xs:redefine schemaLocation="xhtml-image-1.xsd">
 +
 +    <xs:attributeGroup name="img.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: Removed attributes "longdesc", "height", "width".
 +        </xs:documentation>
 +      </xs:annotation>         
 +      <xs:attributeGroup ref="Common.attrib"/>
 +      <xs:attribute name="src" type="URI" use="required"/>
 +      <xs:attribute name="alt" type="Text" use="required"/>
 +    </xs:attributeGroup>
 +
 +  </xs:redefine>  
 +
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +  <!-- Changes to style module -->
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +
 +  <xs:redefine schemaLocation="xhtml-style-1.xsd">
 +
 +    <xs:attributeGroup name="style.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute group "title"
 +            Removed attribute "xml:space"
 +            Fixed value of attribute "type"
 +            Fixed value of attribute "media"
 +        </xs:documentation>
 +      </xs:annotation>         
 +      <xs:attributeGroup ref="I18n.attrib"/>
 +      <xs:attribute name="type" type="ContentType" use="required" fixed="text/css"/>
 +      <xs:attribute name="media" type="MediaDesc" fixed="screen"/>
 +    </xs:attributeGroup>
 +
 +  </xs:redefine>  
 +
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +  <!-- Changes to table module -->
 +  <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 +
 +  <xs:redefine schemaLocation="xhtml-table-1.xsd">
 +
 +    <xs:attributeGroup name="td.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute groups "scope.attrib", "CellHAlign.attrib", "CellVAlign.attrib"
 +            Removed attributes "abbr", "axis", "headers"
 +        </xs:documentation>
 +      </xs:annotation>         
 +      <xs:attributeGroup ref="Common.attrib"/>
 +      <xs:attribute name="rowspan" type="Number" default="1"/>
 +      <xs:attribute name="colspan" type="Number" default="1"/>
 +    </xs:attributeGroup>
 +
 +    <xs:attributeGroup name="th.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute groups "scope.attrib", "CellHAlign.attrib", "CellVAlign.attrib"
 +            Removed attributes "abbr", "axis", "headers"
 +        </xs:documentation>
 +      </xs:annotation>
 +      <xs:attributeGroup ref="Common.attrib"/>
 +      <xs:attribute name="rowspan" type="Number" default="1"/>
 +      <xs:attribute name="colspan" type="Number" default="1"/>
 +    </xs:attributeGroup>
 +
 +    <xs:attributeGroup name="tr.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
 +        </xs:documentation>
 +      </xs:annotation>
 +      <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +
 +    <xs:attributeGroup name="col.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
 +            Removed attributes "span", "width"
 +        </xs:documentation>
 +      </xs:annotation>
 +      <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +
 +    <xs:attributeGroup name="colgroup.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
 +            Removed attributes "span", "width"
 +        </xs:documentation>
 +      </xs:annotation>
 +      <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +
 +    <xs:attributeGroup name="tbody.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
 +        </xs:documentation>
 +      </xs:annotation>
 +      <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +
 +    <xs:attributeGroup name="tfoot.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
 +        </xs:documentation>
 +      </xs:annotation>
 +      <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +
 +    <xs:attributeGroup name="thead.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib"
 +        </xs:documentation>
 +      </xs:annotation>
 +      <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +
 +    <xs:attributeGroup name="table.attlist">
 +      <xs:annotation>
 +        <xs:documentation>
 +          Redefinition by SLXHTML: 
 +            Removed attribute groups "frame.attrib", "rules.attrib" 
 +            Removed attributes "summary", "width", "border", "cellspacing", "cellpadding" 
 +        </xs:documentation>
 +      </xs:annotation>
 +      <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +  </xs:redefine>
 +
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml.xsd new file mode 100644 index 000000000..05087803f --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml.xsd @@ -0,0 +1,173 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema targetNamespace="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" blockDefault="#all">
 +  <xs:annotation>
 +    <xs:documentation>
 +      This is the XML Schema driver for SLXHTML 1.0.
 +      SLXHTML is a profile of XHTML (see W3C copyright notice below).
 +
 +      @author: Gregor Karlinger gregor.karlinger@cio.gv.at
 +      $Id: slxhtml.xsd,v 1.2 2003/12/02 19:34:37 karlinger Exp $
 +    </xs:documentation>
 +  </xs:annotation>
 +  <xs:annotation>
 +    <xs:documentation>
 +      This is XHTML, a reformulation of HTML as a modular XML application
 +      The Extensible HyperText Markup Language (XHTML)
 +      Copyright ©1998-2003 World Wide Web Consortium
 +      (Massachusetts Institute of Technology, Institut National de
 +      Recherche en Informatique et en Automatique, Keio University).
 +      All Rights Reserved.
 +    
 +      Permission to use, copy, modify and distribute the XHTML Schema
 +      modules and their accompanying xs:documentation for any purpose
 +      and without fee is hereby granted in perpetuity, provided that the above
 +      copyright notice and this paragraph appear in all copies.  
 +      The copyright holders make no representation about the suitability of
 +      these XML Schema modules for any purpose.
 +    
 +      They are provided "as is" without expressed or implied warranty.
 +    </xs:documentation>
 +  </xs:annotation>
 +  <xs:annotation>
 +    <xs:documentation>  
 +      This is the Schema Driver file for SLXHTML 1.0 
 +      Document Type
 +    
 +     This schema includes    
 +        + modules for SLXHTML 1.0 Document Type.
 +        
 +        + schema that defines all the named model for 
 +          the SLXHTML 1.0 Document Type
 +        
 +        + schema that redefines the content model of 
 +          individual elements defined in the Module 
 +          implementations.
 +            
 +      SLXHTML 1.0 Document Type includes the following Modules
 +      
 +        XHTML Core modules 
 +            +  text
 +            +  lists
 +            +  structure
 +            
 +        Other XHTML modules
 +          +  Style
 +          +  Image
 +          +  Tables
 +          
 +    </xs:documentation>
 +  </xs:annotation>
 +  <xs:include schemaLocation="slxhtml-module-redefines-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +         This schema redefines the content model defined by 
 +         the individual modules for SLXHTML 1.0 Document Type
 +      </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>
 +  <xs:include schemaLocation="slxhtml-model-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Document Model module for the SLXHTML 1.0 Document Type.
 +        This schema file defines all named models used by XHTML
 +        Modularization Framework for SLXHTML 1.0 Document Type
 +      </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>
 +  <!--<xs:include schemaLocation="xhtml-framework-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Schema Framework Component Modules:
 +            +  notations
 +            +  datatypes
 +            +  common attributes
 +            +  character entities
 +      </xs:documentation>
 +      <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_commonatts"/>
 +    </xs:annotation>
 +  </xs:include>-->
 +  <!--<xs:include schemaLocation="xhtml-text-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Text module
 +      
 +        The Text module includes declarations for all core 
 +        text container elements and their attributes.
 +      
 +            +  block phrasal
 +            +  block structural
 +            +  inline phrasal
 +            +  inline structural
 +      
 +        Elements defined here:
 +          * address, blockquote, pre, h1, h2, h3, h4, h5, h6
 +          * div, p
 +          * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
 +          * br, span
 +      </xs:documentation>
 +      <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_textmodule"/>
 +    </xs:annotation>
 +  </xs:include>-->
 +  <xs:include schemaLocation="xhtml-list-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Lists module
 +
 +        Elements defined here:
 +          * dt, dd, dl, ol, ul, li
 +      </xs:documentation>
 +      <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_listmodule"/>
 +    </xs:annotation>
 +  </xs:include>
 +<!--  <xs:include schemaLocation="xhtml-struct-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Structural module
 +
 +        Elements defined here:
 +          * title, head, body, html
 +      </xs:documentation>
 +      <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_structuremodule"/>
 +    </xs:annotation>
 +  </xs:include>-->
 +  <xs:include schemaLocation="xhtml-blkpres-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Block Presentational module
 +        
 +         Elements defined here:
 +           * hr
 +      </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>
 +  <!--<xs:include schemaLocation="xhtml-style-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Style module
 +        
 +        Elements defined here:
 +          * style
 +      </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>-->
 +  <!--<xs:include schemaLocation="xhtml-image-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Image module
 +        
 +        Elements defined here:
 +          * img
 +      </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>-->
 +  <!--<xs:include schemaLocation="xhtml-table-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Tables module
 +      
 +        Elements defined here:
 +          * table, caption, thead, tfoot, tbody, colgroup, col, tr, th, td
 +      </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>-->
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-attribs-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-attribs-1.xsd new file mode 100644 index 000000000..d2c693dd9 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-attribs-1.xsd @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      This is the XML Schema common attributes module for XHTML
 +      $Id: xhtml-attribs-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +
 +  <xs:import namespace="http://www.w3.org/XML/1998/namespace" 
 +             schemaLocation="xml.xsd"/>
 +
 +  <xs:attributeGroup name="id">
 +    <xs:attribute name="id" type="xs:ID"/>
 +  </xs:attributeGroup>
 +
 +  <xs:attributeGroup name="class">
 +    <xs:attribute name="class" type="xs:NMTOKENS"/>
 +  </xs:attributeGroup>
 +
 +  <xs:attributeGroup name="title">
 +    <xs:attribute name="title" type="xs:string"/>
 +  </xs:attributeGroup>
 +
 +  <xs:attributeGroup name="Core.attrib">
 +    <xs:attributeGroup ref="id"/>
 +    <xs:attributeGroup ref="class"/>
 +    <xs:attributeGroup ref="title"/>
 +    <xs:attributeGroup ref="Core.extra.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:attributeGroup name="I18n.attrib">
 +    <xs:attribute ref="xml:lang"/>
 +    <xs:attributeGroup ref="I18n.extra.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:attributeGroup name="Common.attrib">
 +    <xs:attributeGroup ref="Core.attrib"/>
 +    <xs:attributeGroup ref="I18n.attrib"/>
 +    <xs:attributeGroup ref="Common.extra"/>
 +  </xs:attributeGroup>      
 +
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkphras-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkphras-1.xsd new file mode 100644 index 000000000..464f0d2ca --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkphras-1.xsd @@ -0,0 +1,161 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema targetNamespace="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +        Block Phrasal elements module
 +        This is the XML Schema block phrasal element module for XHTML
 +
 +        * address, blockquote, pre, h1, h2, h3, h4, h5, h6
 +
 +        This module declares the elements and their attributes used to
 +        support block-level phrasal markup.
 +        
 +        $Id: xhtml-blkphras-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +      </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +
 +  <xs:import namespace="http://www.w3.org/XML/1998/namespace" 
 +             schemaLocation="xml.xsd"/>
 +
 +  <!-- address -->
 +  <xs:attributeGroup name="address.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  <xs:group name="address.content">
 +    <xs:sequence>
 +      <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +  <xs:complexType name="address.type" mixed="true">
 +    <xs:group ref="address.content"/>
 +    <xs:attributeGroup ref="address.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="address" type="address.type"/>
 +  <!-- blockquote -->
 +  <xs:attributeGroup name="blockquote.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +    <xs:attribute name="cite" type="URI"/>
 +  </xs:attributeGroup>
 +  <xs:group name="blockquote.content">
 +    <xs:sequence>
 +      <xs:group ref="Block.mix" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +  <xs:complexType name="blockquote.type">
 +    <xs:group ref="blockquote.content"/>
 +    <xs:attributeGroup ref="blockquote.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="blockquote" type="blockquote.type"/>
 +  <!-- pre -->
 +  <xs:attributeGroup name="pre.attlist">
 +   <xs:annotation>
 +     <xs:documentation>
 +       Change by SLXHTML: Removed attribute "fixed" form attribute declaration for "xml:space",
 +       because this is is a buggy declaration in the original XHTML declaration: The attribute
 +       fixed is not allowed since the original specification of the "xml:space" attribute has
 +       the default attribute set. 
 +       (Original declaration was: <xs:attribute ref="xml:space" fixed="preserve"/>).
 +     </xs:documentation>
 +   </xs:annotation>      
 +    <xs:attribute ref="xml:space"/>
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  <xs:group name="pre.content">
 +    <xs:sequence>
 +      <xs:group ref="InlinePre.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +  <xs:complexType name="pre.type" mixed="true">
 +    <xs:group ref="pre.content"/>
 +    <xs:attributeGroup ref="pre.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="pre" type="pre.type"/>
 +  <!-- Heading Elements  -->
 +  <xs:attributeGroup name="heading.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  <xs:complexType name="heading.type" mixed="true">
 +    <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    <xs:attributeGroup ref="heading.attlist"/>
 +  </xs:complexType>
 +  <xs:attributeGroup name="h1.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  <xs:group name="h1.content">
 +    <xs:sequence>
 +      <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +  <xs:complexType name="h1.type" mixed="true">
 +    <xs:group ref="h1.content"/>
 +    <xs:attributeGroup ref="h1.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="h1" type="h1.type"/>
 +  <xs:attributeGroup name="h2.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  <xs:group name="h2.content">
 +    <xs:sequence>
 +      <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +  <xs:complexType name="h2.type" mixed="true">
 +    <xs:group ref="h2.content"/>
 +    <xs:attributeGroup ref="h2.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="h2" type="h2.type"/>
 +  <xs:attributeGroup name="h3.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  <xs:group name="h3.content">
 +    <xs:sequence>
 +      <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +  <xs:complexType name="h3.type" mixed="true">
 +    <xs:group ref="h3.content"/>
 +    <xs:attributeGroup ref="h3.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="h3" type="h3.type"/>
 +  <xs:attributeGroup name="h4.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  <xs:group name="h4.content">
 +    <xs:sequence>
 +      <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +  <xs:complexType name="h4.type" mixed="true">
 +    <xs:group ref="h4.content"/>
 +    <xs:attributeGroup ref="h4.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="h4" type="h4.type"/>
 +  <xs:attributeGroup name="h5.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  <xs:group name="h5.content">
 +    <xs:sequence>
 +      <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +  <xs:complexType name="h5.type" mixed="true">
 +    <xs:group ref="h5.content"/>
 +    <xs:attributeGroup ref="h5.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="h5" type="h5.type"/>
 +  <xs:attributeGroup name="h6.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  <xs:group name="h6.content">
 +    <xs:sequence>
 +      <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +  <xs:complexType name="h6.type" mixed="true">
 +    <xs:group ref="h6.content"/>
 +    <xs:attributeGroup ref="h6.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="h6" type="h6.type"/>
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkpres-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkpres-1.xsd new file mode 100644 index 000000000..9c9b45bf0 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkpres-1.xsd @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      This is the XML SchemaBlock presentation element module for XHTML
 +      $Id: xhtml-blkpres-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +    </xs:documentation>
 +  </xs:annotation>
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      Block Presentational Elements
 +  
 +        * hr
 +  
 +      This module declares the elements and their attributes used to
 +      support block-level presentational markup.
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +    <xs:documentation 
 +         source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_presentationmodule"/>    
 +  </xs:annotation>
 +
 +  <xs:attributeGroup name="hr.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="hr.content">
 +    <xs:sequence/>
 +  </xs:group>  
 +  
 +  <xs:complexType name="hr.type">
 +    <xs:group ref="hr.content"/>
 +    <xs:attributeGroup ref="hr.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="hr" type="hr.type"/>
 +
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkstruct-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkstruct-1.xsd new file mode 100644 index 000000000..581ab5b91 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkstruct-1.xsd @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      Block Structural
 +
 +        * div, p
 +  
 +      This module declares the elements and their attributes used to
 +      support block-level structural markup.            
 +          
 +      This is the XML Schema Block Structural module for XHTML
 +      $Id: xhtml-blkstruct-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +
 +  <!-- div -->
 +  <xs:attributeGroup name="div.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +
 +  <xs:group name="div.content">
 +     <xs:sequence>
 +        <xs:group ref="Flow.mix" minOccurs="0" maxOccurs="unbounded"/>     
 +     </xs:sequence>
 +  </xs:group>    
 +
 +  <xs:complexType name="div.type" mixed="true">
 +    <xs:group ref="div.content"/>     
 +    <xs:attributeGroup ref="div.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="div" type="div.type"/>
 +
 +  <!-- p -->
 +  <xs:attributeGroup name="p.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="p.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>     
 +     </xs:sequence>
 +  </xs:group>      
 +
 +  <xs:complexType name="p.type" mixed="true">
 +    <xs:group ref="p.content"/>       
 +    <xs:attributeGroup ref="p.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="p" type="p.type"/>
 +
 +</xs:schema>
\ No newline at end of file diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-charent-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-charent-1.xsd new file mode 100644 index 000000000..7ad94214e --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-charent-1.xsd @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<!--
 +  This schema module includes three named character entity files.
 +-->
 +<!DOCTYPE xs:schema [
 +<!-- These are the entity sets for ISO Latin 1 characters for the XHTML -->
 +<!ENTITY % HTMLlat1 PUBLIC
 +   "-//W3C//ENTITIES Latin 1 for XHTML//EN"
 +   "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-lat1.ent">
 +%HTMLlat1;
 +<!-- These are the entity sets for special characters for the XHTML -->
 +<!ENTITY % HTMLsymbol PUBLIC
 +   "-//W3C//ENTITIES Symbols for XHTML//EN"
 +   "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-symbol.ent">
 +%HTMLsymbol;
 +<!-- These are the entity sets for symbol characters for the XHTML -->
 +<!ENTITY % HTMLspecial PUBLIC
 +   "-//W3C//ENTITIES Special for XHTML//EN"
 +   "http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-special.ent">
 +%HTMLspecial;
 +]>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      Character Entities for XHTML    
 +      This is the XML Schema Character Entities module for XHTML
 +
 +      This module declares the set of character entities for XHTML,
 +      including the Latin 1, Symbol and Special character collections.
 +      XML Schema does not support Entities, hence Entities are enable
 +      through an Internal DTD Subset.
 +      
 +      $Id: xhtml-charent-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +
 +</xs:schema>
\ No newline at end of file diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-copyright-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-copyright-1.xsd new file mode 100644 index 000000000..110e08843 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-copyright-1.xsd @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema targetNamespace="http://www.w3.org/1999/xhtml" +           xmlns="http://www.w3.org/1999/xhtml" +           xmlns:xs="http://www.w3.org/2001/XMLSchema"> + +  <xs:annotation> +    <xs:documentation> +      This is XHTML, a reformulation of HTML as a modular XML application +      The Extensible HyperText Markup Language (XHTML) +      Copyright ©1998-2002 World Wide Web Consortium +      (Massachusetts Institute of Technology, Institut National de +      Recherche en Informatique et en Automatique, Keio University). +      All Rights Reserved. +     +      Permission to use, copy, modify and distribute the XHTML Schema +      modules and their accompanying xs:documentation for any purpose +      and without fee is hereby granted in perpetuity, provided that the above +      copyright notice and this paragraph appear in all copies.   +      The copyright holders make no representation about the suitability of +      these XML Schema modules for any purpose. +     +      They are provided "as is" without expressed or implied warranty. +    </xs:documentation> +  </xs:annotation> + +</xs:schema> diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-datatypes-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-datatypes-1.xsd new file mode 100644 index 000000000..45bcd0528 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-datatypes-1.xsd @@ -0,0 +1,147 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +            targetNamespace="http://www.w3.org/1999/xhtml"
 +            xmlns="http://www.w3.org/1999/xhtml">
 +
 +    <xs:annotation>
 +        <xs:documentation>
 +          XHTML Datatypes
 +          This is the XML Schema datatypes module for XHTML
 +          
 +          Defines containers for the XHTML datatypes, many of
 +          these imported from other specifications and standards.
 +          
 +          $Id: xhtml-datatypes-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +        </xs:documentation>
 +        <xs:documentation source="xhtml-copyright-1.xsd"/>
 +        <xs:documentation 
 +            source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstraction.html#s_common_attrtypes"/>        
 +    </xs:annotation>
 +    
 +    <!-- nn for pixels or nn% for percentage length -->
 +    <xs:simpleType name="Length">
 +        <xs:union memberTypes="xs:nonNegativeInteger">
 +           <xs:simpleType>
 +             <xs:restriction base="xs:token">
 +               <xs:pattern value="\d+[%]|\d*\.\d+[%]"/>
 +              </xs:restriction>
 +           </xs:simpleType>         
 +        </xs:union>
 +    </xs:simpleType>
 +    
 +    <!-- space-separated list of link types -->
 +    <xs:simpleType name="LinkTypes">
 +        <xs:list itemType="xs:NMTOKEN"/>
 +    </xs:simpleType>
 +    
 +    <!-- single or comma-separated list of media descriptors -->
 +    <xs:simpleType name="MediaDesc">
 +        <xs:restriction base="xs:string"/>
 +    </xs:simpleType>
 +    
 +    <!-- pixel, percentage, or relative -->
 +    <xs:simpleType name="MultiLength">
 +        <xs:union memberTypes="Length">
 +           <xs:simpleType>
 +             <xs:restriction base="xs:token">
 +               <xs:pattern value="\d*\*"/>
 +             </xs:restriction>
 +           </xs:simpleType>         
 +        </xs:union>
 +    </xs:simpleType>
 +    
 +    <!-- one or more digits (NUMBER) -->
 +    <xs:simpleType name="Number">
 +        <xs:restriction base="xs:nonNegativeInteger"/>
 +    </xs:simpleType>
 +    
 +    <!-- integer representing length in pixels -->
 +    <xs:simpleType name="Pixels">
 +        <xs:restriction base="xs:nonNegativeInteger"/>
 +    </xs:simpleType>
 +    
 +    <!-- script expression -->
 +    <xs:simpleType name="Script">
 +        <xs:restriction base="xs:string"/>
 +    </xs:simpleType>
 +    
 +    <!-- sixteen color names or RGB color expression-->
 +    <xs:simpleType name="Color">
 +        <xs:union memberTypes="xs:NMTOKEN">    
 +           <xs:simpleType>                      
 +              <xs:restriction base="xs:token">
 +                 <xs:pattern value="#[0-9a-fA-F]{6}"/>
 +              </xs:restriction>
 +           </xs:simpleType>         
 +        </xs:union>
 +    </xs:simpleType>
 +    
 +    <!-- textual content -->
 +    <xs:simpleType name="Text">
 +        <xs:restriction base="xs:string"/>
 +    </xs:simpleType>
 +    
 +    <!-- Imported Datatypes  -->
 +    <!-- a single character, as per section 2.2 of [XML] -->
 +    <xs:simpleType name="Character">
 +        <xs:restriction base="xs:string">
 +           <xs:length value="1" fixed="true"/>
 +        </xs:restriction>
 +    </xs:simpleType>
 +    
 +    <!-- a character encoding, as per [RFC2045] -->
 +    <xs:simpleType name="Charset">
 +        <xs:restriction base="xs:string"/>
 +    </xs:simpleType>
 +    
 +    <!-- a space separated list of character encodings, as per [RFC2045] -->
 +    <xs:simpleType name="Charsets">
 +        <xs:list itemType="Charset"/>
 +    </xs:simpleType>
 +    
 +    <!-- media type, as per [RFC2045] -->
 +    <xs:simpleType name="ContentType">
 +        <xs:list itemType="xs:string"/>
 +    </xs:simpleType>
 +    
 +    <!-- comma-separated list of media types, as per [RFC2045] -->
 +    <xs:simpleType name="ContentTypes">
 +        <xs:list itemType="xs:string"/>
 +    </xs:simpleType>
 +    
 +    <!-- date and time information. ISO date format -->
 +    <xs:simpleType name="Datetime">
 +        <xs:restriction base="xs:dateTime"/>
 +    </xs:simpleType>
 +    
 +    <!-- formal public identifier, as per [ISO8879] -->
 +    <xs:simpleType name="FPI">
 +        <xs:restriction base="xs:normalizedString"/>
 +    </xs:simpleType>
 +    
 +    <!-- a language code, as per [RFC3066] -->
 +    <xs:simpleType name="LanguageCode">
 +        <xs:restriction base="xs:language"/>
 +    </xs:simpleType>
 +    
 +    <!-- a Uniform Resource Identifier, see [URI] -->
 +    <xs:simpleType name="URI">
 +        <xs:restriction base="xs:anyURI"/>
 +    </xs:simpleType>
 +    
 +    <!-- a space-separated list of Uniform Resource Identifiers, see [URI] -->
 +    <xs:simpleType name="URIs">
 +        <xs:list itemType="xs:anyURI"/>
 +    </xs:simpleType>
 +    
 +    <!-- comma-separated list of MultiLength -->
 +    <xs:simpleType name="MultiLengths">
 +        <xs:restriction base="xs:string"/>
 +    </xs:simpleType>
 +    
 +    <!-- character Data -->
 +    <xs:simpleType name="CDATA">
 +        <xs:restriction base="xs:string"/>
 +    </xs:simpleType>
 +        
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-framework-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-framework-1.xsd new file mode 100644 index 000000000..da380e57a --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-framework-1.xsd @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?>   
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      XHTML Modular Framework    
 +      This is the XML Schema Modular Framework module for XHTML
 +            
 +      This required module instantiates the necessary modules
 +      needed to support the XHTML modularization framework.
 +      
 +      The Schema modules instantiated are:  
 +        +  notations
 +        +  datatypes
 +        +  common attributes
 +        +  character entities
 +      
 +      $Id: xhtml-framework-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +
 +  <xs:import namespace="http://www.w3.org/XML/1998/namespace" 
 +             schemaLocation="xml.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Common Attributes       
 +        This import brings in the attributes 
 +        xml:lang and xml:space in the XML namespace.
 +      </xs:documentation>
 +     </xs:annotation>
 +  </xs:import>  
 +    
 +  <xs:include schemaLocation="xhtml-notations-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +         Notations module
 +         Declares XHTML notations for Attribute data types 
 +      </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>
 +
 +  <xs:include schemaLocation="xhtml-datatypes-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        This module defines XHTML Attribute DataTypes
 +      </xs:documentation>
 +      <xs:documentation 
 +          source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstraction.html#s_common_attrtypes"/>
 +    </xs:annotation>
 +  </xs:include>
 +
 +  <xs:include schemaLocation="xhtml-attribs-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        This module defines Common attributes for XHTML
 +      </xs:documentation>
 +      <xs:documentation 
 +          source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_commonatts"/>      
 +    </xs:annotation>
 +  </xs:include>
 +
 +  <xs:include schemaLocation="xhtml-charent-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Character entities module
 +        Note: Entities are not supported in XML Schema
 +        The Schema Module uses DTDs to define Entities
 +        
 +        This module defines
 +          + XHTML Latin 1 Character Entities
 +          + XHTML Special Characters
 +          + XHTML Mathematical, Greek, and Symbolic Characters
 +    </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>
 +
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-image-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-image-1.xsd new file mode 100644 index 000000000..18e60bf74 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-image-1.xsd @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      Images    
 +      This is the XML Schema Images module for XHTML
 +    
 +        * img
 +    
 +      This module provides markup to support basic image embedding.
 +      
 +      To avoid problems with text-only UAs as well as to make
 +      image content understandable and navigable to users of
 +      non-visual UAs, you need to provide a description with
 +      the 'alt' attribute, and avoid server-side image maps.
 +      
 +      
 +      $Id: xhtml-image-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +    <xs:documentation 
 +       source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_imagemodule"/>    
 +  </xs:annotation>
 +
 +
 +  <xs:attributeGroup name="img.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +    <xs:attribute name="src" type="URI" use="required"/>
 +    <xs:attribute name="alt" type="Text" use="required"/>
 +    <xs:attribute name="longdesc" type="URI"/>
 +    <xs:attribute name="height" type="Length"/>
 +    <xs:attribute name="width" type="Length"/>
 +  </xs:attributeGroup>
 +
 +  <xs:group name="img.content">
 +     <xs:sequence/>
 +  </xs:group>  
 +    
 +  <xs:complexType name="img.type">
 +     <xs:group ref="img.content"/>
 +     <xs:attributeGroup ref="img.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="img" type="img.type"/>
 +
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-inlphras-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-inlphras-1.xsd new file mode 100644 index 000000000..439291eba --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-inlphras-1.xsd @@ -0,0 +1,226 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      Inline Phrasal
 +      This is the XML Schema Inline Phrasal module for XHTML
 +    
 +        * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
 +    
 +      This module declares the elements and their attributes used to
 +      support inline-level phrasal markup.      
 +      $Id: xhtml-inlphras-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $    
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +
 +
 +  <xs:attributeGroup name="abbr.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="abbr.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="abbr.type" mixed="true">
 +    <xs:group ref="abbr.content"/>   
 +    <xs:attributeGroup ref="abbr.attlist"/>
 +  </xs:complexType>  
 +
 +  <xs:element name="abbr" type="abbr.type"/>
 + 
 +  <xs:attributeGroup name="acronym.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="acronym.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="acronym.type" mixed="true">
 +    <xs:group ref="acronym.content"/>   
 +    <xs:attributeGroup ref="acronym.attlist"/>
 +  </xs:complexType>  
 +  
 +  <xs:element name="acronym" type="acronym.type"/>
 +
 +  <xs:attributeGroup name="cite.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="cite.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>
 +
 +  <xs:complexType name="cite.type" mixed="true">
 +    <xs:group ref="cite.content"/>   
 +    <xs:attributeGroup ref="cite.attlist"/>
 +  </xs:complexType>
 +    
 +  <xs:element name="cite" type="cite.type">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Change by SLXHTML: Changed type to "cite.type".
 +        (Original declaration was: <xs:element name="cite" type="dfn.type"/>).
 +      </xs:documentation>
 +    </xs:annotation>      
 +  </xs:element>   
 +  
 +  <xs:attributeGroup name="code.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="code.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="code.type" mixed="true">
 +    <xs:group ref="code.content"/>   
 +    <xs:attributeGroup ref="code.attlist"/>
 +  </xs:complexType>
 +    
 +  <xs:element name="code" type="code.type">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Change by SLXHTML: Changed type to "code.type".
 +        (Original declaration was: <xs:element name="code" type="dfn.type"/>).
 +      </xs:documentation>
 +    </xs:annotation>      
 +  </xs:element>   
 +    
 +  <xs:attributeGroup name="dfn.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="dfn.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="dfn.type" mixed="true">
 +    <xs:group ref="dfn.content"/>   
 +    <xs:attributeGroup ref="dfn.attlist"/>
 +  </xs:complexType>
 +    
 +  <xs:element name="dfn" type="dfn.type"/>
 +
 +  <xs:attributeGroup name="em.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="em.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="em.type" mixed="true">
 +    <xs:group ref="em.content"/>   
 +    <xs:attributeGroup ref="em.attlist"/>
 +  </xs:complexType>
 +  
 +  <xs:element name="em" type="em.type"/>
 +
 +    
 +  <xs:attributeGroup name="kbd.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="kbd.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="kbd.type" mixed="true">
 +    <xs:group ref="kbd.content"/>   
 +    <xs:attributeGroup ref="kbd.attlist"/>
 +  </xs:complexType>
 +    
 +  <xs:element name="kbd" type="kbd.type"/>
 +
 +    
 +  <xs:attributeGroup name="samp.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="samp.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="samp.type" mixed="true">
 +    <xs:group ref="samp.content"/>   
 +    <xs:attributeGroup ref="samp.attlist"/>
 +  </xs:complexType>
 +    
 +  <xs:element name="samp" type="samp.type"/>
 +  
 +    
 +  <xs:attributeGroup name="strong.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="strong.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="strong.type" mixed="true">
 +    <xs:group ref="strong.content"/>   
 +    <xs:attributeGroup ref="strong.attlist"/>
 +  </xs:complexType>  
 +
 +  <xs:element name="strong" type="strong.type"/>
 +  
 +  <xs:attributeGroup name="var.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="var.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="var.type" mixed="true">
 +    <xs:group ref="var.content"/>   
 +    <xs:attributeGroup ref="var.attlist"/>
 +  </xs:complexType>  
 +
 +  <xs:element name="var" type="var.type"/>
 +
 +  <xs:attributeGroup name="q.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +    <xs:attribute name="cite" type="URI"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="q.content">
 +     <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>     
 +     </xs:sequence>
 +  </xs:group>  
 +
 +  <xs:complexType name="q.type" mixed="true">
 +    <xs:group ref="q.content"/>   
 +    <xs:attributeGroup ref="q.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="q" type="q.type"/>
 +
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-inlstruct-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-inlstruct-1.xsd new file mode 100644 index 000000000..07aad4819 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-inlstruct-1.xsd @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      Inline Structural
 +      This is the XML Schema Inline Structural element module for XHTML
 +
 +        * br, span
 +      
 +      This module declares the elements and their attributes 
 +      used to support inline-level structural markup.
 +      
 +      $Id: xhtml-inlstruct-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +
 +  <xs:attributeGroup name="br.attlist">
 +    <xs:attributeGroup ref="Core.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="br.content">
 +     <xs:sequence/>
 +  </xs:group>  
 +
 +  <xs:complexType name="br.type">
 +    <xs:group ref="br.content"/>    
 +    <xs:attributeGroup ref="br.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="br" type="br.type"/>
 +
 +  <xs:attributeGroup name="span.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="span.content">
 +    <xs:sequence>
 +       <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>     
 +    </xs:sequence>
 +  </xs:group>
 +
 +  <xs:complexType name="span.type" mixed="true">
 +    <xs:group ref="span.content"/>   
 +    <xs:attributeGroup ref="span.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="span" type="span.type"/>
 +
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-list-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-list-1.xsd new file mode 100644 index 000000000..80b755f3d --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-list-1.xsd @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      List Module
 +      This is the XML Schema Lists module for XHTML
 +      List Module Elements
 +    
 +        * dl, dt, dd, ol, ul, li
 +    
 +      This module declares the list-oriented element types
 +      and their attributes.
 +      $Id: xhtml-list-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $      
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +    <xs:documentation
 +      source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_listmodule"/>      
 +  </xs:annotation>
 +
 +  <xs:attributeGroup name="dt.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="dt.content">
 +    <xs:sequence>
 +      <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +
 +  <xs:complexType name="dt.type" mixed="true">
 +    <xs:group ref="dt.content"/>
 +    <xs:attributeGroup ref="dt.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="dt" type="dt.type"/>
 +
 +  <xs:attributeGroup name="dd.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="dd.content">
 +    <xs:sequence>
 +      <xs:group ref="Flow.mix" minOccurs="0" maxOccurs="unbounded"/>  
 +    </xs:sequence>
 +  </xs:group>
 +
 +  <xs:complexType name="dd.type" mixed="true">
 +    <xs:group ref="dd.content"/>
 +    <xs:attributeGroup ref="dd.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="dd" type="dd.type"/>
 +
 +  <xs:attributeGroup name="dl.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +
 +  <xs:group name="dl.content">
 +    <xs:sequence>
 +      <xs:choice maxOccurs="unbounded">
 +        <xs:element ref="dt"/>
 +        <xs:element ref="dd"/>
 +      </xs:choice>
 +    </xs:sequence>
 +  </xs:group>
 +
 +  <xs:complexType name="dl.type">
 +    <xs:group ref="dl.content"/>
 +    <xs:attributeGroup ref="dl.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="dl" type="dl.type"/>
 +
 +  <xs:attributeGroup name="li.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="li.content">
 +    <xs:sequence>
 +      <xs:group ref="Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
 +    </xs:sequence>      
 +  </xs:group>
 +
 +  <xs:complexType name="li.type" mixed="true">
 +    <xs:group ref="li.content"/>  
 +    <xs:attributeGroup ref="li.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="li" type="li.type"/>
 +
 +  <xs:attributeGroup name="ol.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +
 +  <xs:group name="ol.content">
 +    <xs:sequence>
 +      <xs:element ref="li" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +
 +  <xs:complexType name="ol.type">
 +    <xs:group ref="ol.content"/>  
 +    <xs:attributeGroup ref="ol.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="ol" type="ol.type"/>
 +
 +  <xs:attributeGroup name="ul.attlist">
 +    <xs:attributeGroup ref="Common.attrib"/>
 +  </xs:attributeGroup>
 +  
 +  <xs:group name="ul.content">
 +    <xs:sequence>
 +      <xs:element ref="li" maxOccurs="unbounded"/>
 +    </xs:sequence>
 +  </xs:group>
 +
 +  <xs:complexType name="ul.type">
 +    <xs:group ref="ul.content"/>    
 +    <xs:attributeGroup ref="ul.attlist"/>
 +  </xs:complexType>
 +
 +  <xs:element name="ul" type="ul.type"/>
 +
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-notations-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-notations-1.xsd new file mode 100644 index 000000000..246be792b --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-notations-1.xsd @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      Notations module
 +      This is the XML Schema module for data type notations for XHTML
 +
 +      Defines the following notations, many of these imported from 
 +      other specifications and standards. When an existing FPI is
 +      known, it is incorporated here.
 +            
 +      $Id: xhtml-notations-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +
 +  <!-- W3C XML 1.0 Recommendation -->
 +  <xs:notation name="w3c-xml"
 +    public="ISO 8879//NOTATION Extensible Markup Language (XML) 1.0//EN"/>
 +
 +  <!-- XML 1.0 CDATA -->
 +  <xs:notation name="cdata" public="-//W3C//NOTATION XML 1.0: CDATA//EN"/>
 +  
 +  <!-- SGML Formal Public Identifiers -->
 +  <xs:notation name="fpi"
 +    public="ISO 8879:1986//NOTATION Formal Public Identifier//EN"/>
 +
 +  <!-- XHTML Notations ... -->
 +  <!-- Length defined for cellpadding/cellspacing -->
 +  <!-- nn for pixels or nn% for percentage length -->
 +  <!-- a single character, as per section 2.2 of [XML] -->
 +  <xs:notation name="character"
 +    public="-//W3C//NOTATION XHTML Datatype: Character//EN"/>
 +
 +  <!-- a character encoding, as per [RFC2045] -->
 +  <xs:notation name="charset"
 +    public="-//W3C//NOTATION XHTML Datatype: Charset//EN"/>
 +
 +  <!-- a space separated list of character encodings, as per [RFC2045] -->
 +  <xs:notation name="charsets"
 +    public="-//W3C//NOTATION XHTML Datatype: Charsets//EN"/>
 +
 +  <!-- media type, as per [RFC2045] -->
 +  <xs:notation name="contentType"
 +    public="-//W3C//NOTATION XHTML Datatype: ContentType//EN"/>
 +
 +  <!-- comma-separated list of media types, as per [RFC2045] -->
 +  <xs:notation name="contentTypes"
 +    public="-//W3C//NOTATION XHTML Datatype: ContentTypes//EN"/>
 +
 +  <!-- date and time information. ISO date format -->
 +  <xs:notation name="datetime"
 +    public="-//W3C//NOTATION XHTML Datatype: Datetime//EN"/>
 +
 +  <!-- a language code, as per [RFC3066] -->
 +  <xs:notation name="languageCode"
 +    public="-//W3C//NOTATION XHTML Datatype: LanguageCode//EN"/>
 +
 +  <!-- nn for pixels or nn% for percentage length -->
 +  <xs:notation name="length"
 +    public="-//W3C//NOTATION XHTML Datatype: Length//EN"/>
 +
 +  <!-- space-separated list of link types -->
 +  <xs:notation name="linkTypes"
 +    public="-//W3C//NOTATION XHTML Datatype: LinkTypes//EN"/>
 +
 +  <!-- single or comma-separated list of media descriptors -->
 +  <xs:notation name="mediaDesc"
 +    public="-//W3C//NOTATION XHTML Datatype: MediaDesc//EN"/>
 +
 +  <!-- pixel, percentage, or relative -->
 +  <xs:notation name="multiLength"
 +    public="-//W3C//NOTATION XHTML Datatype: MultiLength//EN"/>
 +
 +  <!-- one or more digits (NUMBER) -->
 +  <xs:notation name="number"
 +    public="-//W3C//NOTATION XHTML Datatype: Number//EN"/>
 +
 +  <!-- one or more digits (NUMBER) -->
 +  <xs:notation name="pixels"
 +    public="-//W3C//NOTATION XHTML Datatype: Pixels//EN"/>
 +
 +  <!-- script expression -->
 +  <xs:notation name="script"
 +    public="-//W3C//NOTATION XHTML Datatype: Script//EN"/>
 +
 +  <!-- textual content -->
 +  <xs:notation name="text" public="-//W3C//NOTATION XHTML Datatype: Text//EN"/>
 +
 +  <!-- a Uniform Resource Identifier, see [URI] -->
 +  <xs:notation name="uri" public="-//W3C//NOTATION XHTML Datatype: URI//EN"/>
 +
 +  <!-- a space-separated list of Uniform Resource Identifiers, see [URI] -->
 +  <xs:notation name="uris" public="-//W3C//NOTATION XHTML Datatype: URIs//EN"/>
 +
 +</xs:schema>
\ No newline at end of file diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-struct-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-struct-1.xsd new file mode 100644 index 000000000..3a4bf3473 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-struct-1.xsd @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml" 
 +           xmlns:xs="http://www.w3.org/2001/XMLSchema" >
 +
 +   <xs:annotation>
 +      <xs:documentation>
 +        This is the XML Schema Document Structure module for XHTML
 +        Document Structure
 +    
 +          * title, head, body, html
 +    
 +        The Structure Module defines the major structural elements and 
 +        their attributes.
 +        
 +        $Id: xhtml-struct-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $     
 +      </xs:documentation>
 +      <xs:documentation source="xhtml-copyright-1.xsd"/>    
 +      <xs:documentation
 +        source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_structuremodule"/>
 +    </xs:annotation>
 +    
 +    <xs:attributeGroup name="title.attlist">
 +      <xs:attributeGroup ref="I18n.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="title.content">
 +      <xs:sequence/>
 +    </xs:group>    
 +    
 +    <xs:complexType name="title.type" mixed="true">
 +      <xs:group ref="title.content"/>
 +      <xs:attributeGroup ref="title.attlist"/>
 +    </xs:complexType>
 +    
 +        
 +    <xs:element name="title" type="title.type"/>
 +    
 +    <xs:group name="head.content">
 +      <xs:sequence>
 +        <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
 +        <xs:element ref="title"/>
 +        <xs:group ref="HeadOpts.mix" minOccurs="0" maxOccurs="unbounded"/>
 +      </xs:sequence>
 +    </xs:group>
 +
 +    <xs:attributeGroup name="profile.attrib">
 +      <xs:attribute name="profile" type="URI"/>
 +    </xs:attributeGroup>
 +        
 +    <xs:attributeGroup name="head.attlist">
 +      <xs:attributeGroup ref="profile.attrib"/>
 +      <xs:attributeGroup ref="I18n.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:complexType name="head.type">
 +      <xs:group ref="head.content"/>
 +      <xs:attributeGroup ref="head.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="head" type="head.type"/>
 +    
 +    <xs:attributeGroup name="body.attlist">
 +      <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +
 +    <xs:group name="body.content">
 +      <xs:sequence>
 +        <xs:group ref="Block.mix" maxOccurs="unbounded"/>
 +      </xs:sequence>
 +    </xs:group>                
 +    
 +    <xs:complexType name="body.type">
 +      <xs:group ref="body.content"/>
 +      <xs:attributeGroup ref="body.attlist"/>
 +    </xs:complexType>  
 +    
 +    <xs:element name="body" type="body.type"/>
 +    
 +    <xs:attributeGroup name="version.attrib">
 +      <xs:attribute name="version" type="FPI"/>
 +    </xs:attributeGroup>
 +
 +    <xs:attributeGroup name="html.attlist">
 +      <xs:attributeGroup ref="version.attrib"/>
 +      <xs:attributeGroup ref="I18n.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="html.content">
 +      <xs:sequence>
 +         <xs:element ref="head"/>
 +         <xs:element ref="body"/>
 +      </xs:sequence>
 +    </xs:group>
 +    
 +    <xs:complexType name="html.type">
 +       <xs:group ref="html.content"/>
 +       <xs:attributeGroup ref="html.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="html" type="html.type"/>
 +    
 +</xs:schema>
\ No newline at end of file diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-style-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-style-1.xsd new file mode 100644 index 000000000..6feb7c48d --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-style-1.xsd @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema targetNamespace="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      This is the XML Schema Stylesheets module for XHTML
 +      $Id: xhtml-style-1.xsd,v 1.1 2003/10/17 14:11:19 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +  </xs:annotation>
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      Stylesheets
 +      
 +        * style
 +      
 +      This module declares the style element type and its attributes,
 +      used to embed stylesheet information in the document head element.
 +    </xs:documentation>
 +    <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_stylemodule"/>
 +  </xs:annotation>
 +
 +  <xs:import namespace="http://www.w3.org/XML/1998/namespace" 
 +             schemaLocation="xml.xsd"/>
 +
 +  <xs:attributeGroup name="style.attlist">
 +     <xs:annotation>
 +       <xs:documentation>
 +         Change by SLXHTML: Removed attribute "fixed" form attribute declaration for "xml:space",
 +         because this is is a buggy declaration in the original XHTML declaration: The attribute
 +         fixed is not allowed since the original specification of the "xml:space" attribute has
 +         the default attribute set. 
 +         (Original declaration was: <xs:attribute ref="xml:space" fixed="preserve"/>).
 +       </xs:documentation>
 +     </xs:annotation>      
 +    <xs:attributeGroup ref="title"/>
 +    <xs:attributeGroup ref="I18n.attrib"/>
 +    <xs:attribute name="type" type="ContentType" use="required"/>
 +    <xs:attribute name="media" type="MediaDesc"/>
 +    <xs:attribute ref="xml:space"/>
 +  </xs:attributeGroup>
 +  <xs:group name="style.content">
 +    <xs:sequence/>
 +  </xs:group>
 +  <xs:complexType name="style.type" mixed="true">
 +    <xs:group ref="style.content"/>
 +    <xs:attributeGroup ref="style.attlist"/>
 +  </xs:complexType>
 +  <xs:element name="style" type="style.type"/>
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-table-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-table-1.xsd new file mode 100644 index 000000000..35e0e2403 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-table-1.xsd @@ -0,0 +1,323 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema targetNamespace="http://www.w3.org/1999/xhtml" 
 +           xmlns="http://www.w3.org/1999/xhtml" 
 +           xmlns:xs="http://www.w3.org/2001/XMLSchema">
 +    <xs:annotation>
 +        <xs:documentation>
 +          This is the XML Schema Tables module for XHTML
 +          $Id: xhtml-table-1.xsd,v 1.1 2003/10/17 14:11:20 karlinger Exp $
 +        </xs:documentation>
 +        <xs:documentation source="xhtml-copyright-1.xsd"/>
 +    </xs:annotation>
 +    <xs:annotation>
 +        <xs:documentation>
 +          Tables
 +      
 +           * table, caption, thead, tfoot, tbody, colgroup, col, tr, th, td
 +      
 +          This module declares element types and attributes used to provide
 +          table markup similar to HTML 4.0, including features that enable
 +          better accessibility for non-visual user agents.
 +        </xs:documentation>
 +        <xs:documentation 
 +           source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_tablemodule"/>
 +    </xs:annotation>
 +
 +    <xs:attributeGroup name="frame.attrib">
 +        <xs:attribute name="frame">
 +            <xs:simpleType>
 +                <xs:restriction base="xs:NMTOKEN">
 +                    <xs:enumeration value="void"/>
 +                    <xs:enumeration value="above"/>
 +                    <xs:enumeration value="below"/>
 +                    <xs:enumeration value="hsides"/>
 +                    <xs:enumeration value="lhs"/>
 +                    <xs:enumeration value="rhs"/>
 +                    <xs:enumeration value="vsides"/>
 +                    <xs:enumeration value="box"/>
 +                    <xs:enumeration value="border"/>
 +                </xs:restriction>
 +            </xs:simpleType>
 +        </xs:attribute>
 +    </xs:attributeGroup>
 +    
 +    <xs:attributeGroup name="rules.attrib">
 +        <xs:attribute name="rules">
 +            <xs:simpleType>
 +                <xs:restriction base="xs:NMTOKEN">
 +                    <xs:enumeration value="none"/>
 +                    <xs:enumeration value="groups"/>
 +                    <xs:enumeration value="rows"/>
 +                    <xs:enumeration value="cols"/>
 +                    <xs:enumeration value="all"/>
 +                </xs:restriction>
 +            </xs:simpleType>
 +        </xs:attribute>
 +    </xs:attributeGroup>
 +    
 +    <xs:attributeGroup name="CellVAlign.attrib">
 +        <xs:attribute name="valign">
 +            <xs:simpleType>
 +                <xs:restriction base="xs:NMTOKEN">
 +                    <xs:enumeration value="top"/>
 +                    <xs:enumeration value="middle"/>
 +                    <xs:enumeration value="bottom"/>
 +                    <xs:enumeration value="baseline"/>
 +                </xs:restriction>
 +            </xs:simpleType>
 +        </xs:attribute>
 +    </xs:attributeGroup>
 +    
 +    <xs:attributeGroup name="CellHAlign.attrib">
 +        <xs:attribute name="align">
 +            <xs:simpleType>
 +                <xs:restriction base="xs:NMTOKEN">
 +                    <xs:enumeration value="left"/>
 +                    <xs:enumeration value="center"/>
 +                    <xs:enumeration value="right"/>
 +                    <xs:enumeration value="justify"/>
 +                    <xs:enumeration value="char"/>
 +                </xs:restriction>
 +            </xs:simpleType>
 +        </xs:attribute>
 +        <xs:attribute name="char" type="Character"/>
 +        <xs:attribute name="charoff" type="Length"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:attributeGroup name="scope.attrib">
 +        <xs:attribute name="scope">
 +            <xs:simpleType>
 +                <xs:restriction base="xs:NMTOKEN">
 +                    <xs:enumeration value="row"/>
 +                    <xs:enumeration value="col"/>
 +                    <xs:enumeration value="rowgroup"/>
 +                    <xs:enumeration value="colgroup"/>
 +                </xs:restriction>
 +            </xs:simpleType>
 +        </xs:attribute>
 +    </xs:attributeGroup>
 +    
 +    <xs:attributeGroup name="td.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +        <xs:attribute name="abbr" type="Text"/>
 +        <xs:attribute name="axis" type="CDATA"/>
 +        <xs:attribute name="headers" type="xs:IDREFS"/>
 +        <xs:attributeGroup ref="scope.attrib"/>
 +        <xs:attribute name="rowspan" type="Number" default="1"/>
 +        <xs:attribute name="colspan" type="Number" default="1"/>
 +        <xs:attributeGroup ref="CellHAlign.attrib"/>
 +        <xs:attributeGroup ref="CellVAlign.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="td.content">
 +       <xs:sequence>
 +          <xs:group ref="Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
 +       </xs:sequence>
 +    </xs:group>    
 +    
 +    <xs:complexType name="td.type" mixed="true">
 +        <xs:group ref="td.content"/>
 +        <xs:attributeGroup ref="td.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="td" type="td.type"/>
 +    
 +    <xs:attributeGroup name="th.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +        <xs:attribute name="abbr" type="Text"/>
 +        <xs:attribute name="axis" type="CDATA"/>
 +        <xs:attribute name="headers" type="xs:IDREFS"/>
 +        <xs:attributeGroup ref="scope.attrib"/>
 +        <xs:attribute name="rowspan" type="Number" default="1"/>
 +        <xs:attribute name="colspan" type="Number" default="1"/>
 +        <xs:attributeGroup ref="CellHAlign.attrib"/>
 +        <xs:attributeGroup ref="CellVAlign.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="th.content">
 +       <xs:sequence>
 +          <xs:group ref="Flow.mix" minOccurs="0" maxOccurs="unbounded"/>
 +       </xs:sequence>
 +    </xs:group>     
 +    
 +    <xs:complexType name="th.type" mixed="true">
 +        <xs:group ref="th.content"/>
 +        <xs:attributeGroup ref="th.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="th" type="th.type"/>
 +    
 +    <xs:attributeGroup name="tr.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +        <xs:attributeGroup ref="CellHAlign.attrib"/>
 +        <xs:attributeGroup ref="CellVAlign.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="tr.content">
 +      <xs:sequence>
 +        <xs:choice maxOccurs="unbounded">
 +            <xs:element ref="th"/>
 +            <xs:element ref="td"/>
 +        </xs:choice>
 +      </xs:sequence>
 +    </xs:group>
 +    
 +    <xs:complexType name="tr.type">
 +        <xs:group ref="tr.content"/>
 +        <xs:attributeGroup ref="tr.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="tr" type="tr.type"/>
 +    
 +    <xs:attributeGroup name="col.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +        <xs:attribute name="span" type="Number" default="1"/>
 +        <xs:attribute name="width" type="MultiLength"/>
 +        <xs:attributeGroup ref="CellHAlign.attrib"/>
 +        <xs:attributeGroup ref="CellVAlign.attrib"/>
 +    </xs:attributeGroup>
 +
 +    <xs:group name="col.content">
 +       <xs:sequence/>
 +    </xs:group>             
 +    
 +    <xs:complexType name="col.type">
 +        <xs:group ref="col.content"/>    
 +        <xs:attributeGroup ref="col.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="col" type="col.type"/>
 +    
 +    <xs:attributeGroup name="colgroup.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +        <xs:attribute name="span" type="Number" default="1"/>
 +        <xs:attribute name="width" type="MultiLength"/>
 +        <xs:attributeGroup ref="CellHAlign.attrib"/>
 +        <xs:attributeGroup ref="CellVAlign.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="colgroup.content">
 +        <xs:sequence>
 +            <xs:element ref="col" minOccurs="0" maxOccurs="unbounded"/>
 +        </xs:sequence>
 +    </xs:group>
 +    <xs:complexType name="colgroup.type">
 +        <xs:group ref="colgroup.content"/>
 +        <xs:attributeGroup ref="colgroup.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="colgroup" type="colgroup.type"/>
 +    
 +    <xs:attributeGroup name="tbody.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +        <xs:attributeGroup ref="CellHAlign.attrib"/>
 +        <xs:attributeGroup ref="CellVAlign.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="tbody.content">
 +        <xs:sequence>
 +            <xs:element ref="tr" maxOccurs="unbounded"/>
 +        </xs:sequence>
 +    </xs:group>
 +    
 +    <xs:complexType name="tbody.type">
 +        <xs:group ref="tbody.content"/>
 +        <xs:attributeGroup ref="tbody.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="tbody" type="tbody.type"/>
 +    
 +    <xs:attributeGroup name="tfoot.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +        <xs:attributeGroup ref="CellHAlign.attrib"/>
 +        <xs:attributeGroup ref="CellVAlign.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="tfoot.content">
 +        <xs:sequence>
 +            <xs:element ref="tr" maxOccurs="unbounded"/>
 +        </xs:sequence>
 +    </xs:group>
 +    
 +    <xs:complexType name="tfoot.type">
 +        <xs:group ref="tfoot.content"/>
 +        <xs:attributeGroup ref="tfoot.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="tfoot" type="tfoot.type"/>
 +    
 +    <xs:attributeGroup name="thead.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +        <xs:attributeGroup ref="CellHAlign.attrib"/>
 +        <xs:attributeGroup ref="CellVAlign.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="thead.content">
 +        <xs:sequence>
 +            <xs:element ref="tr" maxOccurs="unbounded"/>
 +        </xs:sequence>
 +    </xs:group>
 +    
 +    <xs:complexType name="thead.type">
 +        <xs:group ref="thead.content"/>
 +        <xs:attributeGroup ref="thead.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="thead" type="thead.type"/>
 +    
 +    <xs:attributeGroup name="caption.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="caption.content">
 +       <xs:sequence>
 +         <xs:group ref="Inline.mix" minOccurs="0" maxOccurs="unbounded"/>
 +       </xs:sequence>       
 +    </xs:group>    
 +
 +    <xs:complexType name="caption.type" mixed="true">
 +        <xs:group ref="caption.content"/>
 +        <xs:attributeGroup ref="caption.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="caption" type="caption.type"/>
 +    
 +    <xs:attributeGroup name="table.attlist">
 +        <xs:attributeGroup ref="Common.attrib"/>
 +        <xs:attribute name="summary" type="Text"/>
 +        <xs:attribute name="width" type="Length"/>
 +        <xs:attribute name="border" type="Pixels"/>
 +        <xs:attributeGroup ref="frame.attrib"/>
 +        <xs:attributeGroup ref="rules.attrib"/>
 +        <xs:attribute name="cellspacing" type="Length"/>
 +        <xs:attribute name="cellpadding" type="Length"/>
 +    </xs:attributeGroup>
 +    
 +    <xs:group name="table.content">
 +        <xs:sequence>
 +            <xs:element ref="caption" minOccurs="0"/>
 +            <xs:choice>
 +                <xs:element ref="col" minOccurs="0" maxOccurs="unbounded"/>
 +                <xs:element ref="colgroup" minOccurs="0" maxOccurs="unbounded"/>
 +            </xs:choice>
 +            <xs:choice>
 +                <xs:sequence>
 +                    <xs:element ref="thead" minOccurs="0"/>
 +                    <xs:element ref="tfoot" minOccurs="0"/>
 +                    <xs:element ref="tbody" maxOccurs="unbounded"/>
 +                </xs:sequence>
 +                <xs:choice>
 +                    <xs:element ref="tr" maxOccurs="unbounded"/>
 +                </xs:choice>
 +            </xs:choice>
 +        </xs:sequence>
 +    </xs:group>
 +    
 +    <xs:complexType name="table.type">
 +        <xs:group ref="table.content"/>
 +        <xs:attributeGroup ref="table.attlist"/>
 +    </xs:complexType>
 +    
 +    <xs:element name="table" type="table.type"/>
 +
 +</xs:schema>
\ No newline at end of file diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-text-1.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-text-1.xsd new file mode 100644 index 000000000..71a08e772 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-text-1.xsd @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?>
 +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 +           targetNamespace="http://www.w3.org/1999/xhtml"
 +           xmlns="http://www.w3.org/1999/xhtml">
 +
 +  <xs:annotation>
 +    <xs:documentation>
 +      Textual Content
 +      This is the XML Schema Text module for XHTML
 +
 +      The Text module includes declarations for all core
 +      text container elements and their attributes.
 +    
 +        +  block phrasal
 +        +  block structural
 +        +  inline phrasal
 +        +  inline structural
 +      
 +      $Id: xhtml-text-1.xsd,v 1.1 2003/10/17 14:11:20 karlinger Exp $
 +    </xs:documentation>
 +    <xs:documentation source="xhtml-copyright-1.xsd"/>
 +    <xs:documentation 
 +        source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_textmodule"/>          
 +  </xs:annotation>
 +
 +  <xs:include schemaLocation="xhtml-blkphras-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Block Phrasal module
 +        Elements defined here:
 +
 +          * address, blockquote, pre, h1, h2, h3, h4, h5, h6
 +    </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>
 +
 +  <xs:include schemaLocation="xhtml-blkstruct-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Block Structural module 
 +        Elements defined here:
 +
 +          * div, p
 +    </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>
 +
 +  <xs:include schemaLocation="xhtml-inlphras-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Inline Phrasal module
 +        Elements defined here:
 +
 +          * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var
 +    </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>
 +
 +  <xs:include schemaLocation="xhtml-inlstruct-1.xsd">
 +    <xs:annotation>
 +      <xs:documentation>
 +        Inline Structural module 
 +        Elements defined here:
 +
 +          * br,span
 +    </xs:documentation>
 +    </xs:annotation>
 +  </xs:include>
 +
 +</xs:schema>
 diff --git a/spss.slinterface/res/resources/schemas/slxhtml-1.0/xml.xsd b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xml.xsd new file mode 100644 index 000000000..abe08ec25 --- /dev/null +++ b/spss.slinterface/res/resources/schemas/slxhtml-1.0/xml.xsd @@ -0,0 +1,81 @@ +<?xml version='1.0'?> +<!--<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" >--> +<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en"> + + <xs:annotation> +  <xs:documentation> +   See http://www.w3.org/XML/1998/namespace.html and +   http://www.w3.org/TR/REC-xml for information about this namespace. +  </xs:documentation> + </xs:annotation> + + <xs:annotation> +  <xs:documentation>This schema defines attributes and an attribute group +        suitable for use by +        schemas wishing to allow xml:base, xml:lang or xml:space attributes +        on elements they define. + +        To enable this, such a schema must import this schema +        for the XML namespace, e.g. as follows: +        <schema . . .> +         . . . +         <import namespace="http://www.w3.org/XML/1998/namespace" +                    schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> + +        Subsequently, qualified reference to any of the attributes +        or the group defined below will have the desired effect, e.g. + +        <type . . .> +         . . . +         <attributeGroup ref="xml:specialAttrs"/> +  +         will define a type which will schema-validate an instance +         element with any of those attributes</xs:documentation> + </xs:annotation> + + <xs:annotation> +  <xs:documentation>In keeping with the XML Schema WG's standard versioning +   policy, this schema document will persist at +   http://www.w3.org/2001/03/xml.xsd. +   At the date of issue it can also be found at +   http://www.w3.org/2001/xml.xsd. +   The schema document at that URI may however change in the future, +   in order to remain compatible with the latest version of XML Schema +   itself.  In other words, if the XML Schema namespace changes, the version +   of this document at +   http://www.w3.org/2001/xml.xsd will change +   accordingly; the version at +   http://www.w3.org/2001/03/xml.xsd will not change. +  </xs:documentation> + </xs:annotation> + + <xs:attribute name="lang" type="xs:language"> +  <xs:annotation> +   <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter +         codes as the enumerated possible values . . .</xs:documentation> +  </xs:annotation> + </xs:attribute> + + <xs:attribute name="space" default="preserve"> +  <xs:simpleType> +   <xs:restriction base="xs:NCName"> +    <xs:enumeration value="default"/> +    <xs:enumeration value="preserve"/> +   </xs:restriction> +  </xs:simpleType> + </xs:attribute> + + <xs:attribute name="base" type="xs:anyURI"> +  <xs:annotation> +   <xs:documentation>See http://www.w3.org/TR/xmlbase/ for +                     information about this attribute.</xs:documentation> +  </xs:annotation> + </xs:attribute> + + <xs:attributeGroup name="specialAttrs"> +  <xs:attribute ref="xml:base"/> +  <xs:attribute ref="xml:lang"/> +  <xs:attribute ref="xml:space"/> + </xs:attributeGroup> + +</xs:schema> | 
