From 907948870ba41526b076e4bb2e9861b805c0f052 Mon Sep 17 00:00:00 2001 From: gregor Date: Wed, 3 Dec 2003 10:03:03 +0000 Subject: Zwischenstand git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@70 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../moa/spss/slinterface/beans/DataInfoBean.java | 7 +- .../slinterface/servlets/HashInputDataServlet.java | 4 +- .../schemas/slxhtml-1.0/slxhtml-model-1.xsd | 388 +++++++++++++++++++++ .../slxhtml-1.0/slxhtml-module-redefines-1.xsd | 253 ++++++++++++++ .../res/resources/schemas/slxhtml-1.0/slxhtml.xsd | 173 +++++++++ .../schemas/slxhtml-1.0/xhtml-attribs-1.xsd | 47 +++ .../schemas/slxhtml-1.0/xhtml-blkphras-1.xsd | 161 +++++++++ .../schemas/slxhtml-1.0/xhtml-blkpres-1.xsd | 42 +++ .../schemas/slxhtml-1.0/xhtml-blkstruct-1.xsd | 57 +++ .../schemas/slxhtml-1.0/xhtml-charent-1.xsd | 41 +++ .../schemas/slxhtml-1.0/xhtml-copyright-1.xsd | 26 ++ .../schemas/slxhtml-1.0/xhtml-datatypes-1.xsd | 147 ++++++++ .../schemas/slxhtml-1.0/xhtml-framework-1.xsd | 80 +++++ .../schemas/slxhtml-1.0/xhtml-image-1.xsd | 49 +++ .../schemas/slxhtml-1.0/xhtml-inlphras-1.xsd | 226 ++++++++++++ .../schemas/slxhtml-1.0/xhtml-inlstruct-1.xsd | 53 +++ .../resources/schemas/slxhtml-1.0/xhtml-list-1.xsd | 128 +++++++ .../schemas/slxhtml-1.0/xhtml-notations-1.xsd | 99 ++++++ .../schemas/slxhtml-1.0/xhtml-struct-1.xsd | 103 ++++++ .../schemas/slxhtml-1.0/xhtml-style-1.xsd | 51 +++ .../schemas/slxhtml-1.0/xhtml-table-1.xsd | 323 +++++++++++++++++ .../resources/schemas/slxhtml-1.0/xhtml-text-1.xsd | 70 ++++ .../res/resources/schemas/slxhtml-1.0/xml.xsd | 81 +++++ 23 files changed, 2607 insertions(+), 2 deletions(-) create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml-model-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml-module-redefines-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/slxhtml.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-attribs-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkphras-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkpres-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-blkstruct-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-charent-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-copyright-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-datatypes-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-framework-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-image-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-inlphras-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-inlstruct-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-list-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-notations-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-struct-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-style-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-table-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xhtml-text-1.xsd create mode 100644 spss.slinterface/res/resources/schemas/slxhtml-1.0/xml.xsd 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 @@ + + + + + + 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 $ + + + + + + + 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 + + + + + + + + SLXHTML: attributeGroup "dir.attrib" removed. + + + + + + + + SLXHTML: attributeGroup "style.attrib" removed. + + + + + + + + + + + + SLXHTML: elements "script", "meta", "link", "object" removed. + + + + + + + + + + + SLXHTML: elements "ins", "del" removed. + + + + + + + + + SLXHTML: elements "script", "noscript" removed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + SLXHTML: elements "dfn", "samp", "kbd", "var", "q" , "abbr" and + "acronym" removed. + + + + + + + + + + + + + + SLXHTML: elements "tt", "i", "b", "big", "small", "sub", "sup" removed. + + + + + + + + + SLXHTML: element "bdo" removed. + + + + + + + + + SLXHTML: element "a" removed. + + + + + + + + + SLXHTML: elements "map", "object" removed. + + + + + + + + + + + SLXHTML: elements "input", "select", "textara", "lable", "button" removed. + + + + + + + + + + + + + SLXHTML: element "ruby" removed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SLXHTML: elements "tt", "i", "b", "script", "map" removed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SLXHTML: element "form" removed. + + + + + + + + + SLXHTML: element "fieldset" removed. + + + + + + + + + + + + + + + + SLXHTML: element "address" removed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 @@ + + + + + + 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 $ + + + + + + + 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 + + + + + + + + + + + + + Redefinition by SLXHTML: Only a single instance of element "style" is + allowed apart from the obligatory "title" element. + + + + + + + + + + + + Redefinition by SLXHTML: Change value of the version attrib. + + + + + + + + + Redefinition by SLXHTML: Removed profile attrib. + + + + + + + + + + + + + + + + Redefinition by SLXHTML: Removed xml:lang attrib. + + + + + + + + + Redefinition by SLXHTML: Removed title attrib. + + + + + + + + + + + + + + + + Redefinition by SLXHTML: Removed cite attrib. + + + + + + + + + + + + + + + + + Redefinition by SLXHTML: Removed attributes "longdesc", "height", "width". + + + + + + + + + + + + + + + + + + + Redefinition by SLXHTML: + Removed attribute group "title" + Removed attribute "xml:space" + Fixed value of attribute "type" + Fixed value of attribute "media" + + + + + + + + + + + + + + + + + + + Redefinition by SLXHTML: + Removed attribute groups "scope.attrib", "CellHAlign.attrib", "CellVAlign.attrib" + Removed attributes "abbr", "axis", "headers" + + + + + + + + + + + Redefinition by SLXHTML: + Removed attribute groups "scope.attrib", "CellHAlign.attrib", "CellVAlign.attrib" + Removed attributes "abbr", "axis", "headers" + + + + + + + + + + + Redefinition by SLXHTML: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + + + + + + + + + Redefinition by SLXHTML: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + Removed attributes "span", "width" + + + + + + + + + Redefinition by SLXHTML: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + Removed attributes "span", "width" + + + + + + + + + Redefinition by SLXHTML: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + + + + + + + + + Redefinition by SLXHTML: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + + + + + + + + + Redefinition by SLXHTML: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + + + + + + + + + Redefinition by SLXHTML: + Removed attribute groups "frame.attrib", "rules.attrib" + Removed attributes "summary", "width", "border", "cellspacing", "cellpadding" + + + + + + + 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 @@ + + + + + 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 $ + + + + + 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. + + + + + 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 + + + + + + + This schema redefines the content model defined by + the individual modules for SLXHTML 1.0 Document Type + + + + + + + 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 + + + + + + + + + Lists module + + Elements defined here: + * dt, dd, dl, ol, ul, li + + + + + + + + + Block Presentational module + + Elements defined here: + * hr + + + + + + + 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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"/>). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 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 $ + + + + + + Block Presentational Elements + + * hr + + This module declares the elements and their attributes used to + support block-level presentational markup. + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 @@ + + + + +%HTMLlat1; + + +%HTMLsymbol; + + +%HTMLspecial; +]> + + + + + 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 $ + + + + + \ 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 @@ + + + + + + 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. + + + + 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 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 $ + + + + + + + + Common Attributes + This import brings in the attributes + xml:lang and xml:space in the XML namespace. + + + + + + + + Notations module + Declares XHTML notations for Attribute data types + + + + + + + + This module defines XHTML Attribute DataTypes + + + + + + + + + This module defines Common attributes for XHTML + + + + + + + + + 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 + + + + + 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Change by SLXHTML: Changed type to "cite.type". + (Original declaration was: <xs:element name="cite" type="dfn.type"/>). + + + + + + + + + + + + + + + + + + + + + + + Change by SLXHTML: Changed type to "code.type". + (Original declaration was: <xs:element name="code" type="dfn.type"/>). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 @@ + + + + + + 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 $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 @@ + + + + + + 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 $ + + + + + + + Stylesheets + + * style + + This module declares the style element type and its attributes, + used to embed stylesheet information in the document head element. + + + + + + + + + + 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"/>). + + + + + + + + + + + + + + + + + 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 @@ + + + + + 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 $ + + + + + + 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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 @@ + + + + + + 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 $ + + + + + + + + + Block Phrasal module + Elements defined here: + + * address, blockquote, pre, h1, h2, h3, h4, h5, h6 + + + + + + + + Block Structural module + Elements defined here: + + * div, p + + + + + + + + Inline Phrasal module + Elements defined here: + + * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var + + + + + + + + Inline Structural module + Elements defined here: + + * br,span + + + + + 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 @@ + + + + + + + See http://www.w3.org/XML/1998/namespace.html and + http://www.w3.org/TR/REC-xml for information about this namespace. + + + + + 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 + + + + 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. + + + + + + In due course, we should install the relevant ISO 2- and 3-letter + codes as the enumerated possible values . . . + + + + + + + + + + + + + + + See http://www.w3.org/TR/xmlbase/ for + information about this attribute. + + + + + + + + + + -- cgit v1.2.3