diff options
Diffstat (limited to 'BKUViewer/src/main/resources/at/gv/egiz')
20 files changed, 2490 insertions, 0 deletions
diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/slxhtml-model-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/slxhtml-model-1.xsd new file mode 100644 index 00000000..14df3792 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/slxhtml-model-1.xsd @@ -0,0 +1,473 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"> + <xs:import + namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd"/> + <xs:annotation> + <xs:documentation> + This is the XML Schema module of common 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.4 2004/05/12 11:35:31 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: + xhtml.Inline.mix; character-level elements + xhtml.Block.mix; block-like elements, e.g., paragraphs and lists + xhtml.Flow.mix; any block or inline elements + xhtml.HeadOpts.mix; Head Elements + xhtml.InlinePre.mix; Special class for pre content model + xhtml.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 + xhtml.Core.extra.attrib + xhtml.I18n.extra.attrib + xhtml.Common.extra + + The above attribute Groups are considered Global + </xs:documentation> + </xs:annotation> + + <xs:attributeGroup name="xhtml.I18n.extra.attrib"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: attributeGroup "dir.attrib" removed. + </xs:documentation> + </xs:annotation> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.Common.extra"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: attributeGroup "style.attrib" removed. + </xs:documentation> + </xs:annotation> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.Core.extra.attrib"> + </xs:attributeGroup> + + <xs:attributeGroup + name="xhtml.Global.core.extra.attrib"> + <xs:annotation> + <xs:documentation> Extended Global Core Attributes </xs:documentation> + </xs:annotation> + </xs:attributeGroup> + <xs:attributeGroup + name="xhtml.Global.I18n.extra.attrib"> + <xs:annotation> + <xs:documentation> Extended Global I18n attributes </xs:documentation> + </xs:annotation> + </xs:attributeGroup> + <xs:attributeGroup + name="xhtml.Global.Common.extra"> + <xs:annotation> + <xs:documentation> Extended Global Common Attributes </xs:documentation> + </xs:annotation> + </xs:attributeGroup> + + <xs:group name="xhtml.HeadOpts.mix"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: elements "script", "meta", "link", "object" removed. + </xs:documentation> + </xs:annotation> + <xs:choice> + <xs:element + name="style" + type="xhtml.style.type"/> + </xs:choice> + </xs:group> + + <xs:group + name="xhtml.head.content"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: Only a single instance of element "style" is + allowed apart from the obligatory "title" element. + </xs:documentation> + </xs:annotation> + <xs:sequence> + <xs:element + name="title" + type="xhtml.title.type"/> + <xs:group + ref="xhtml.HeadOpts.mix"/> + </xs:sequence> + </xs:group> + <!-- + ins and del are used to denote editing changes + --> + <xs:group name="xhtml.Edit.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: elements "ins", "del" removed. + </xs:documentation> + </xs:annotation> + <xs:choice/> + </xs:group> + <!-- + script and noscript are used to contain scripts + and alternative content + --> + <xs:group name="xhtml.Script.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: elements "script", "noscript" removed. + </xs:documentation> + </xs:annotation> + <xs:choice/> + </xs:group> + <xs:group name="xhtml.Misc.extra"> + <xs:sequence/> + </xs:group> + <!-- + These elements are neither block nor inline, and can + essentially be used anywhere in the document body. + --> + <xs:group + name="xhtml.Misc.class"> + <xs:choice> + <xs:group + ref="xhtml.Edit.class"/> + <xs:group + ref="xhtml.Script.class"/> + <xs:group + ref="xhtml.Misc.extra"/> + </xs:choice> + </xs:group> + <!-- Inline Elements --> + <xs:group + name="xhtml.InlStruct.class"> + <xs:choice> + <xs:element + name="br" + type="xhtml.br.type"/> + <xs:element + name="span" + type="xhtml.span.type"/> + </xs:choice> + </xs:group> + <xs:group + name="xhtml.InlPhras.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: elements "dfn", "samp", "kbd", "var", "q" , "abbr" and + "acronym" removed. + </xs:documentation> + </xs:annotation> + <xs:choice> + <xs:element + name="em" + type="xhtml.em.type"/> + <xs:element + name="strong" + type="xhtml.strong.type"/> + <xs:element + name="code" + type="xhtml.code.type"/> + <xs:element + name="cite" + type="xhtml.cite.type"/> + </xs:choice> + </xs:group> + <xs:group + name="xhtml.InlPres.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: elements "tt", "i", "b", "big", "small", "sub", "sup" removed. + </xs:documentation> + </xs:annotation> + <xs:sequence/> + </xs:group> + <xs:group name="xhtml.I18n.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: element "bdo" removed. + </xs:documentation> + </xs:annotation> + <xs:sequence/> + </xs:group> + <xs:group name="xhtml.Anchor.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: element "a" removed. + </xs:documentation> + </xs:annotation> + <xs:sequence/> + </xs:group> + <xs:group + name="xhtml.InlSpecial.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: elements "map", "object" removed. + </xs:documentation> + <xs:documentation> + MOCCA 1.0: element "img" removed + </xs:documentation> + </xs:annotation> + <!-- <xs:choice> + <xs:element + name="img" + type="xhtml.img.type"/> + </xs:choice>--> + <xs:sequence/> + </xs:group> + <xs:group name="xhtml.InlForm.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: elements "input", "select", "textara", "lable", "button" removed. + </xs:documentation> + </xs:annotation> + <xs:sequence/> + </xs:group> + <xs:group + name="xhtml.Inline.extra"> + <xs:sequence/> + </xs:group> + <xs:group name="xhtml.Ruby.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: element "ruby" removed. + </xs:documentation> + </xs:annotation> + <xs:sequence/> + </xs:group> + + <xs:group + name="xhtml.Inline.class"> + <xs:choice> + <xs:group + ref="xhtml.InlStruct.class"/> + <xs:group + ref="xhtml.InlPhras.class"/> + <xs:group + ref="xhtml.InlPres.class"/> + <xs:group + ref="xhtml.I18n.class"/> + <xs:group + ref="xhtml.Anchor.class"/> + <xs:group + ref="xhtml.InlSpecial.class"/> + <xs:group + ref="xhtml.InlForm.class"/> + <xs:group + ref="xhtml.Ruby.class"/> + <xs:group + ref="xhtml.Inline.extra"/> + </xs:choice> + </xs:group> + <xs:group + name="xhtml.InlinePre.mix"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: elements "tt", "i", "b", "script", "map" removed. + </xs:documentation> + </xs:annotation> + <xs:choice> + <xs:group + ref="xhtml.InlStruct.class"/> + <xs:group + ref="xhtml.InlPhras.class"/> + <xs:group + ref="xhtml.I18n.class"/> + <xs:group + ref="xhtml.Anchor.class"/> + <xs:group + ref="xhtml.Inline.extra"/> + </xs:choice> + </xs:group> + + <xs:group + name="xhtml.Inline.mix"> + <xs:choice> + <xs:group + ref="xhtml.Inline.class"/> + <xs:group + ref="xhtml.Misc.class"/> + </xs:choice> + </xs:group> + + <xs:group + name="xhtml.Heading.class"> + <xs:choice> + <xs:element + name="h1" + type="xhtml.h1.type"/> + <xs:element + name="h2" + type="xhtml.h2.type"/> + <xs:element + name="h3" + type="xhtml.h3.type"/> + <xs:element + name="h4" + type="xhtml.h4.type"/> + <xs:element + name="h5" + type="xhtml.h5.type"/> + <xs:element + name="h6" + type="xhtml.h6.type"/> + </xs:choice> + </xs:group> + + <xs:group + name="xhtml.List.class"> + <xs:choice> + <xs:element + name="ul" + type="xhtml.ul.type"/> + <xs:element + name="ol" + type="xhtml.ol.type"/> + <xs:element + name="dl" + type="xhtml.dl.type"/> + </xs:choice> + </xs:group> + + <xs:group + name="xhtml.Table.class"> + <xs:choice> + <xs:element + name="table" + type="xhtml.table.type"/> + </xs:choice> + </xs:group> + + <xs:group name="xhtml.Form.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: element "form" removed. + </xs:documentation> + </xs:annotation> + <xs:choice/> + </xs:group> + + <xs:group name="xhtml.Fieldset.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: element "fieldset" removed. + </xs:documentation> + </xs:annotation> + <xs:choice/> + </xs:group> + + <xs:group + name="xhtml.BlkStruct.class"> + <xs:choice> + <xs:element + name="p" + type="xhtml.p.type"/> + <xs:element + name="div" + type="xhtml.div.type"/> + </xs:choice> + </xs:group> + + <xs:group + name="xhtml.BlkPhras.class"> + <xs:annotation> + <xs:documentation> + SLXHTML 1.2: element "address" removed. + </xs:documentation> + </xs:annotation> + <xs:choice> + <xs:element + name="pre" + type="xhtml.pre.type"/> + <xs:element + name="blockquote" + type="xhtml.blockquote.type"/> + </xs:choice> + </xs:group> + <xs:group + name="xhtml.BlkPres.class"> + <xs:sequence> + <xs:element + name="hr" + type="xhtml.hr.type"/> + </xs:sequence> + </xs:group> + + <xs:group + name="xhtml.BlkSpecial.class"> + <xs:choice> + <xs:group + ref="xhtml.Table.class"/> + <xs:group + ref="xhtml.Form.class"/> + <xs:group + ref="xhtml.Fieldset.class"/> + </xs:choice> + </xs:group> + + <xs:group + name="xhtml.Block.extra"> + <xs:sequence/> + </xs:group> + + <xs:group + name="xhtml.Block.class"> + <xs:choice> + <xs:group + ref="xhtml.BlkStruct.class"/> + <xs:group + ref="xhtml.BlkPhras.class"/> + <xs:group + ref="xhtml.BlkPres.class"/> + <xs:group + ref="xhtml.BlkSpecial.class"/> + <xs:group + ref="xhtml.Block.extra"/> + </xs:choice> + </xs:group> + + <xs:group + name="xhtml.Block.mix"> + <xs:choice> + <xs:group + ref="xhtml.Heading.class"/> + <xs:group + ref="xhtml.List.class"/> + <xs:group + ref="xhtml.Block.class"/> + <xs:group + ref="xhtml.Misc.class"/> + </xs:choice> + </xs:group> + + <xs:group + name="xhtml.Flow.mix"> + <xs:choice> + <xs:group + ref="xhtml.Heading.class"/> + <xs:group + ref="xhtml.List.class"/> + <xs:group + ref="xhtml.Block.class"/> + <xs:group + ref="xhtml.Inline.class"/> + <xs:group + ref="xhtml.Misc.class"/> + </xs:choice> + </xs:group> + + <xs:element + name="html" + type="xhtml.html.type"/> +</xs:schema>
\ No newline at end of file diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/slxhtml-modules-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/slxhtml-modules-1.xsd new file mode 100644 index 00000000..b5d779a9 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/slxhtml-modules-1.xsd @@ -0,0 +1,259 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"> + + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + <xs:annotation> + <xs:documentation> + This XML Schema declares changes to the content models + of modules included in SLXHTML 1.2 + </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.2 Document + </xs:documentation> + </xs:annotation> + + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <!-- Changes to common attributes module --> + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + + <xs:include schemaLocation="xhtml-attribs-1.xsd"/> + + <!-- WORKAROUND to [#422] Get rid of Xerces 2.9.1 dependency (SLXHTML validation) + | + <xs:redefine schemaLocation="xhtml-attribs-1.xsd"> + + <xs:attributeGroup name="xhtml.I18n.attrib"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: Removed xml:lang attrib. + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.I18n.extra.attrib"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.title"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: Removed title attrib. + </xs:documentation> + </xs:annotation> + </xs:attributeGroup> + + </xs:redefine> + |--> + + <xs:include schemaLocation="xhtml-framework-1.xsd"/> + + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <!-- Changes to block phrasal elements module --> + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + + <xs:include schemaLocation="xhtml-blkphras-1.xsd"/> + + <!-- WORKAROUND to [#422] Get rid of Xerces 2.9.1 dependency (SLXHTML validation) + | xercesImpl < 2.9.1 cannot handle redefinition here while schema is included elsewhere without redefinition + | + <xs:redefine schemaLocation="xhtml-blkphras-1.xsd"> + + <xs:attributeGroup name="xhtml.blockquote.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: Removed cite attrib. + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + + </xs:redefine> + |--> + + <xs:include schemaLocation="xhtml-text-1.xsd"/> + + <xs:include schemaLocation="xhtml-list-1.xsd"/> + + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <!-- Changes to Structural Module --> + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + + <xs:redefine schemaLocation="xhtml-struct-1.xsd"> + + <xs:attributeGroup name="xhtml.version.attrib"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: Change value of the version attrib. + </xs:documentation> + </xs:annotation> + <xs:attribute name="version" type="xh11d:CDATA" fixed="-//www.buergerkarte.at//DOCUMENT SLXHTML 1.2//DE"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.profile.attrib"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: Removed profile attrib. + </xs:documentation> + </xs:annotation> + </xs:attributeGroup> + </xs:redefine> + + <xs:include schemaLocation="xhtml-pres-1.xsd"/> + + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <!-- Changes to images module --> + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + + <xs:redefine schemaLocation="xhtml-image-1.xsd"> + + <xs:attributeGroup name="xhtml.img.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: Removed attributes "longdesc", "height", "width". + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="src" type="xh11d:URI" use="required"/> + <xs:attribute name="alt" type="xh11d:Text" use="required"/> + </xs:attributeGroup> + + </xs:redefine> + + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <!-- Changes to style module --> + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + + <xs:redefine schemaLocation="xhtml-style-1.xsd"> + + <xs:attributeGroup name="xhtml.style.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + 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="xhtml.I18n.attrib"/> + <xs:attribute name="type" type="xh11d:ContentType" use="required" fixed="text/css"/> + <xs:attribute name="media" type="xh11d:MediaDesc" fixed="screen"/> + </xs:attributeGroup> + + </xs:redefine> + + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + <!-- Changes to table module --> + <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> + + <xs:redefine schemaLocation="xhtml-table-1.xsd"> + + <xs:attributeGroup name="xhtml.td.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + Removed attribute groups "scope.attrib", "CellHAlign.attrib", "CellVAlign.attrib" + Removed attributes "abbr", "axis", "headers" + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="rowspan" type="xh11d:Number" default="1"/> + <xs:attribute name="colspan" type="xh11d:Number" default="1"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.th.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + Removed attribute groups "scope.attrib", "CellHAlign.attrib", "CellVAlign.attrib" + Removed attributes "abbr", "axis", "headers" + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="rowspan" type="xh11d:Number" default="1"/> + <xs:attribute name="colspan" type="xh11d:Number" default="1"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.tr.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.col.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + Removed attributes "span", "width" + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.colgroup.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + Removed attributes "span", "width" + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.tbody.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.tfoot.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.thead.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + Removed attribute groups "CellHAlign.attrib", "CellVAlign.attrib" + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + + <xs:attributeGroup name="xhtml.table.attlist"> + <xs:annotation> + <xs:documentation> + Redefinition by SLXHTML 1.2: + Removed attribute groups "frame.attrib", "rules.attrib" + Removed attributes "summary", "width", "border", "cellspacing", "cellpadding" + </xs:documentation> + </xs:annotation> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + </xs:redefine> + +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/slxhtml.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/slxhtml.xsd new file mode 100644 index 00000000..b6dceec5 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/slxhtml.xsd @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ | Important note:
+ | WORKAROUND to [#422] Get rid of Xerces 2.9.1 dependency (SLXHTML validation)
+ | requires changes to xhtml-attribs-1.xsd and xhtml-blkphras-1.xsd,
+ | when updating the xhtml schema make sure to re-incorporate the respective changes!
+ |
+-->
+<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.2.
+ SLXHTML is a profile of XHTML (see W3C copyright notice below).
+
+ @author: Gregor Karlinger gregor.karlinger@cio.gv.at
+ $Id: slxhtml.xsd,v 1.3 2004/05/12 11:35:31 karlinger Exp $
+ </xs:documentation>
+ </xs:annotation>
+ <xs:annotation>
+ <xs:documentation>
+ This is the Schema Driver file for SLXHTML 1.2
+ Document Type
+
+ This schema includes
+ + modules for SLXHTML 1.2 Document Type.
+
+ + schema that defines all the named model for
+ the SLXHTML 1.2 Document Type
+
+ + schema that redefines the content model of
+ individual elements defined in the Module
+ implementations.
+
+ SLXHTML 1.2 Document Type includes the following Modules
+
+ XHTML Core modules
+ + text
+ + lists
+ + structure
+
+ Other XHTML modules
+ + Style
+ + Image
+ + Tables
+
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:import namespace="http://www.w3.org/XML/1998/namespace"
+ schemaLocation="xml.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ This import brings in the XML namespace attributes
+ The XML attributes are used by various modules
+ </xs:documentation>
+ </xs:annotation>
+ </xs:import>
+
+ <xs:include schemaLocation="slxhtml-model-1.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ This schema redefines the content model defined by
+ the individual modules for SLXHTML 1.2 Document Type
+ </xs:documentation>
+ </xs:annotation>
+ </xs:include>
+
+ <xs:include schemaLocation="slxhtml-modules-1.xsd">
+ <xs:annotation>
+ <xs:documentation>
+ Document Model module for the SLXHTML 1.2 Document Type.
+ This schema file defines all named models used by XHTML
+ Modularization Framework for SLXHTML 1.2 Document Type
+ </xs:documentation>
+ </xs:annotation>
+ </xs:include>
+</xs:schema>
diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-attribs-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-attribs-1.xsd new file mode 100644 index 00000000..43fddc22 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-attribs-1.xsd @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + + <xs:annotation> + <xs:documentation> + This is the XML Schema common attributes module for XHTML + $Id: xhtml-attribs-1.xsd,v 1.7 2008/07/05 04:11:00 ahby Exp $ + </xs:documentation> + <xs:documentation source="xhtml-copyright-1.xsd"/> + <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_commonatts"/> + </xs:annotation> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="xml.xsd"> + <xs:annotation> + <xs:documentation> + This import brings in the XML namespace attributes + The module itself does not provide the schemaLocation + and expects the driver schema to provide the + actual SchemaLocation. + </xs:documentation> + </xs:annotation> + </xs:import> + <xs:attributeGroup name="xhtml.id"> + <xs:attribute name="id" type="xs:ID"/> + </xs:attributeGroup> + <xs:attributeGroup name="xhtml.class"> + <xs:attribute name="class" type="xs:NMTOKENS"/> + </xs:attributeGroup> + <xs:attributeGroup name="xhtml.title"> + <!-- WORKAROUND to [#422] Get rid of Xerces 2.9.1 dependency (SLXHTML validation) + | + <xs:attribute name="title" type="xs:string"/> --> + </xs:attributeGroup> + <xs:attributeGroup name="xhtml.Core.attrib"> + <xs:attribute ref="xml:space"/> + <xs:attributeGroup ref="xhtml.id"/> + <xs:attributeGroup ref="xhtml.class"/> + <xs:attributeGroup ref="xhtml.title"/> + <xs:attributeGroup ref="xhtml.Core.extra.attrib"/> + </xs:attributeGroup> + <xs:attributeGroup name="xhtml.I18n.attrib"> + <!-- WORKAROUND to [#422] Get rid of Xerces 2.9.1 dependency (SLXHTML validation) + | + <xs:attribute ref="xml:lang" /> --> + <xs:attributeGroup ref="xhtml.I18n.extra.attrib"/> + </xs:attributeGroup> + <xs:attributeGroup name="xhtml.Common.attrib"> + <xs:attributeGroup ref="xhtml.Core.attrib"/> + <xs:attributeGroup ref="xhtml.I18n.attrib"/> + <xs:attributeGroup ref="xhtml.Common.extra"/> + </xs:attributeGroup> + <!-- Global attributes --> + <xs:attribute name="id" type="xs:ID"/> + <xs:attribute name="class" type="xs:NMTOKENS"/> + <xs:attribute name="title" type="xs:string"/> + <xs:attributeGroup name="xhtml.Global.core.attrib"> + <xs:attribute ref="id"/> + <xs:attribute ref="class"/> + <xs:attribute ref="title"/> + <xs:attributeGroup ref="xhtml.Global.core.extra.attrib" /> + </xs:attributeGroup> + <xs:attributeGroup name="xhtml.Global.i18n.attrib"> + <xs:attribute ref="xml:lang" /> + <xs:attributeGroup ref="xhtml.Global.I18n.extra.attrib"/> + </xs:attributeGroup> + <xs:attributeGroup name="xhtml.Global.common.attrib"> + <xs:attributeGroup ref="xhtml.Global.core.attrib"/> + <xs:attributeGroup ref="xhtml.Global.i18n.attrib"/> + <xs:attributeGroup ref="xhtml.Global.Common.extra"/> + </xs:attributeGroup> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-blkphras-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-blkphras-1.xsd new file mode 100644 index 00000000..7e902568 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-blkphras-1.xsd @@ -0,0 +1,161 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" schemaLocation="xhtml-datatypes-1.xsd" /> + + <xs:include schemaLocation="xhtml-attribs-1.xsd" /> + + <xs:annotation> + <xs:documentation> + This is the XML Schema Block Phrasal support module for XHTML + $Id: xhtml-blkphras-1.xsd,v 1.7 2008/07/05 04:11:00 ahby Exp $ + </xs:documentation> + <xs:documentation source="xhtml-copyright-1.xsd"/> + </xs:annotation> + <xs:annotation> + <xs:documentation> + Block Phrasal + This module declares the elements and their attributes used to + support block-level phrasal markup. + This is the XML Schema block phrasal elements module for XHTML + + * address, blockquote, pre, h1, h2, h3, h4, h5, h6 + </xs:documentation> + <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_textmodule"/> + </xs:annotation> + <xs:import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="xml.xsd"> + <xs:annotation> + <xs:documentation> + This import brings in the XML namespace attributes + The module itself does not provide the schemaLocation + and expects the driver schema to provide the + actual SchemaLocation. + </xs:documentation> + </xs:annotation> + </xs:import> + <!-- address --> + <xs:attributeGroup name="xhtml.address.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.address.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.address.type" mixed="true"> + <xs:group ref="xhtml.address.content"/> + <xs:attributeGroup ref="xhtml.address.attlist"/> + </xs:complexType> + <!-- blockquote --> + <xs:attributeGroup name="xhtml.blockquote.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <!-- WORKAROUND to [#422] Get rid of Xerces 2.9.1 dependency (SLXHTML validation) + <xs:attribute name="cite" type="xh11d:URI"/> --> + </xs:attributeGroup> + <xs:group name="xhtml.blockquote.content"> + <xs:sequence> + <xs:group ref="xhtml.Block.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.blockquote.type"> + <xs:group ref="xhtml.blockquote.content"/> + <xs:attributeGroup ref="xhtml.blockquote.attlist"/> + </xs:complexType> + <!-- pre --> + <xs:attributeGroup name="xhtml.pre.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.pre.content"> + <xs:sequence> + <xs:group ref="xhtml.InlinePre.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.pre.type" mixed="true"> + <xs:group ref="xhtml.pre.content"/> + <xs:attributeGroup ref="xhtml.pre.attlist"/> + </xs:complexType> + <!-- Heading Elements --> + <xs:attributeGroup name="xhtml.heading.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:complexType name="xhtml.heading.type" mixed="true"> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + <xs:attributeGroup ref="xhtml.heading.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.h1.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.h1.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.h1.type" mixed="true"> + <xs:group ref="xhtml.h1.content"/> + <xs:attributeGroup ref="xhtml.h1.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.h2.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.h2.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.h2.type" mixed="true"> + <xs:group ref="xhtml.h2.content"/> + <xs:attributeGroup ref="xhtml.h2.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.h3.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.h3.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.h3.type" mixed="true"> + <xs:group ref="xhtml.h3.content"/> + <xs:attributeGroup ref="xhtml.h3.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.h4.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.h4.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.h4.type" mixed="true"> + <xs:group ref="xhtml.h4.content"/> + <xs:attributeGroup ref="xhtml.h4.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.h5.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.h5.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.h5.type" mixed="true"> + <xs:group ref="xhtml.h5.content"/> + <xs:attributeGroup ref="xhtml.h5.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.h6.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.h6.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.h6.type" mixed="true"> + <xs:group ref="xhtml.h6.content"/> + <xs:attributeGroup ref="xhtml.h6.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-blkpres-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-blkpres-1.xsd new file mode 100644 index 00000000..cf42303a --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-blkpres-1.xsd @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + <xs:annotation> + <xs:documentation> + This is the XML SchemaBlock presentation element module for XHTML + $Id: xhtml-blkpres-1.xsd,v 1.2 2005/09/26 22:54:53 ahby 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="xhtml.hr.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.hr.content"> + <xs:sequence/> + </xs:group> + <xs:complexType name="xhtml.hr.type"> + <xs:group ref="xhtml.hr.content"/> + <xs:attributeGroup ref="xhtml.hr.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-blkstruct-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-blkstruct-1.xsd new file mode 100644 index 00000000..1e658580 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-blkstruct-1.xsd @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + <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.3 2005/09/26 22:54:53 ahby Exp $ + </xs:documentation> + <xs:documentation source="xhtml-copyright-1.xsd"/> + </xs:annotation> + <!-- div --> + <xs:attributeGroup name="xhtml.div.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.div.content"> + <xs:sequence> + <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.div.type" mixed="true"> + <xs:group ref="xhtml.div.content"/> + <xs:attributeGroup ref="xhtml.div.attlist"/> + </xs:complexType> + <!-- p --> + <xs:attributeGroup name="xhtml.p.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.p.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.p.type" mixed="true"> + <xs:group ref="xhtml.p.content"/> + <xs:attributeGroup ref="xhtml.p.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-datatypes-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-datatypes-1.xsd new file mode 100644 index 00000000..860b1d6e --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-datatypes-1.xsd @@ -0,0 +1,177 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns="http://www.w3.org/1999/xhtml/datatypes/" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" + targetNamespace="http://www.w3.org/1999/xhtml/datatypes/" + elementFormDefault="qualified" +> + <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.11 2008/10/07 16:57:03 ahby 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="xh11d: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]{3}([0-9a-fA-F]{3})?"/> + </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:restriction base="xs:string"/> + </xs:simpleType> + <!-- comma-separated list of media types, as per [RFC2045] --> + <xs:simpleType name="ContentTypes"> + <xs:restriction base="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 window name as used in the target attribute --> + <xs:simpleType name="FrameTarget"> + <xs:union> + <xs:simpleType> + <xs:restriction base="xs:NMTOKEN"> + <xs:enumeration value="_blank"/> + <xs:enumeration value="_self"/> + <xs:enumeration value="_parent"/> + <xs:enumeration value="_top"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="[a-zA-Z].*"/> + </xs:restriction> + </xs:simpleType> + </xs:union> + </xs:simpleType> + + <!-- a language code, as per [RFC3066] --> + <xs:simpleType name="LanguageCode"> + <xs:restriction base="xs:language"/> + </xs:simpleType> + <!-- a comma separated list of language ranges --> + <xs:simpleType name="LanguageCodes"> + <xs:restriction base="xs:string"/> + </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> + <!-- CURIE placeholder datatypes --> + <xs:simpleType name="CURIE"> + <xs:restriction base="xs:string"> + <xs:pattern value="(([\i-[:]][\c-[:]]*)?:)?.+" /> + <xs:minLength value="1"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="CURIEs"> + <xs:list itemType="xh11d:CURIE"/> + </xs:simpleType> + <xs:simpleType name="SafeCURIE"> + <xs:restriction base="xs:string"> + <xs:pattern value="\[(([\i-[:]][\c-[:]]*)?:)?.+\]" /> + <xs:minLength value="3"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="SafeCURIEs"> + <xs:list itemType="xh11d:SafeCURIE"/> + </xs:simpleType> + <xs:simpleType name="URIorSafeCURIE"> + <xs:union memberTypes="xs:anyURI xh11d:SafeCURIE" /> + </xs:simpleType> + <xs:simpleType name="URIorSafeCURIEs"> + <xs:list itemType="xh11d:URIorSafeCURIE"/> + </xs:simpleType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-framework-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-framework-1.xsd new file mode 100644 index 00000000..05b906d4 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-framework-1.xsd @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" + elementFormDefault="qualified" +> + <xs:annotation> + <xs:documentation> + This is the XML Schema Modular Framework support module for XHTML + $Id: xhtml-framework-1.xsd,v 1.5 2005/09/26 23:37:47 ahby Exp $ + </xs:documentation> + <xs:documentation source="xhtml-copyright-1.xsd"/> + </xs:annotation> + <xs:annotation> + <xs:documentation> + XHTML Modular Framework + 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 + </xs:documentation> + <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_commonatts"/> + </xs:annotation> + <!-- 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:import namespace="http://www.w3.org/1999/xhtml/datatypes/" 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:import> + <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/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-image-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-image-1.xsd new file mode 100644 index 00000000..cd16bc9b --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-image-1.xsd @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + + <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.2 2005/09/26 22:54:53 ahby 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="xhtml.img.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="src" type="xh11d:URI" use="required"/> + <xs:attribute name="alt" type="xh11d:Text" use="required"/> + <xs:attribute name="longdesc" type="xh11d:URI"/> + <xs:attribute name="height" type="xh11d:Length"/> + <xs:attribute name="width" type="xh11d:Length"/> + </xs:attributeGroup> + <xs:group name="xhtml.img.content"> + <xs:sequence/> + </xs:group> + <xs:complexType name="xhtml.img.type"> + <xs:group ref="xhtml.img.content"/> + <xs:attributeGroup ref="xhtml.img.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-inlphras-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-inlphras-1.xsd new file mode 100644 index 00000000..919c59de --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-inlphras-1.xsd @@ -0,0 +1,163 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + + <xs:annotation> + <xs:documentation> + This is the XML Schema Inline Phrasal support module for XHTML + $Id: xhtml-inlphras-1.xsd,v 1.4 2005/09/26 22:54:53 ahby Exp $ + </xs:documentation> + <xs:documentation source="xhtml-copyright-1.xsd"/> + </xs:annotation> + <xs:annotation> + <xs:documentation> + Inline Phrasal. + This module declares the elements and their attributes used to + support inline-level phrasal markup. + This is the XML Schema Inline Phrasal module for XHTML + + * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var + + $Id: xhtml-inlphras-1.xsd,v 1.4 2005/09/26 22:54:53 ahby Exp $ + </xs:documentation> + <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_textmodule"/> + </xs:annotation> + <xs:attributeGroup name="xhtml.abbr.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.abbr.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.abbr.type" mixed="true"> + <xs:group ref="xhtml.abbr.content"/> + <xs:attributeGroup ref="xhtml.abbr.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.acronym.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.acronym.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.acronym.type" mixed="true"> + <xs:group ref="xhtml.acronym.content"/> + <xs:attributeGroup ref="xhtml.acronym.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.cite.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.cite.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.cite.type" mixed="true"> + <xs:group ref="xhtml.cite.content"/> + <xs:attributeGroup ref="xhtml.cite.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.code.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.code.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.code.type" mixed="true"> + <xs:group ref="xhtml.code.content"/> + <xs:attributeGroup ref="xhtml.code.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.dfn.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.dfn.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.dfn.type" mixed="true"> + <xs:group ref="xhtml.dfn.content"/> + <xs:attributeGroup ref="xhtml.dfn.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.em.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.em.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.em.type" mixed="true"> + <xs:group ref="xhtml.em.content"/> + <xs:attributeGroup ref="xhtml.em.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.kbd.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.kbd.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.kbd.type" mixed="true"> + <xs:group ref="xhtml.kbd.content"/> + <xs:attributeGroup ref="xhtml.kbd.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.samp.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.samp.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.samp.type" mixed="true"> + <xs:group ref="xhtml.samp.content"/> + <xs:attributeGroup ref="xhtml.samp.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.strong.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.strong.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.strong.type" mixed="true"> + <xs:group ref="xhtml.strong.content"/> + <xs:attributeGroup ref="xhtml.strong.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.var.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.var.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.var.type" mixed="true"> + <xs:group ref="xhtml.var.content"/> + <xs:attributeGroup ref="xhtml.var.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.q.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="cite" type="xh11d:URI"/> + </xs:attributeGroup> + <xs:group name="xhtml.q.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.q.type" mixed="true"> + <xs:group ref="xhtml.q.content"/> + <xs:attributeGroup ref="xhtml.q.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-inlpres-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-inlpres-1.xsd new file mode 100644 index 00000000..a053447c --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-inlpres-1.xsd @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + <xs:annotation> + <xs:documentation> + This is the XML Schema Inline Presentation element module for XHTML + $Id: xhtml-inlpres-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $ + </xs:documentation> + <xs:documentation source="xhtml-copyright-1.xsd"/> + </xs:annotation> + <xs:annotation> + <xs:documentation> + Inline Presentational Elements + + * b, big, i, small, sub, sup, tt + + This module declares the elements and their attributes used to + support inline-level presentational markup. + </xs:documentation> + <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_presentationmodule"/> + </xs:annotation> + <xs:attributeGroup name="xhtml.InlPres.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.InlPres.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.InlPres.type" mixed="true"> + <xs:group ref="xhtml.InlPres.content"/> + <xs:attributeGroup ref="xhtml.InlPres.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-inlstruct-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-inlstruct-1.xsd new file mode 100644 index 00000000..635eb5f1 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-inlstruct-1.xsd @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + <xs:annotation> + <xs:documentation> + This is the XML Schema Inline Structural support module for XHTML + $Id: xhtml-inlstruct-1.xsd,v 1.4 2005/09/26 22:54:53 ahby Exp $ + </xs:documentation> + <xs:documentation source="xhtml-copyright-1.xsd"/> + </xs:annotation> + <xs:annotation> + <xs:documentation> + Inline Structural. + This module declares the elements and their attributes + used to support inline-level structural markup. + This is the XML Schema Inline Structural element module for XHTML + + * br, span + + </xs:documentation> + <xs:documentation source="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_textmodule"/> + </xs:annotation> + <xs:attributeGroup name="xhtml.br.attlist"> + <xs:attributeGroup ref="xhtml.Core.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.br.content"> + <xs:sequence/> + </xs:group> + <xs:complexType name="xhtml.br.type"> + <xs:group ref="xhtml.br.content"/> + <xs:attributeGroup ref="xhtml.br.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.span.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.span.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.span.type" mixed="true"> + <xs:group ref="xhtml.span.content"/> + <xs:attributeGroup ref="xhtml.span.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-list-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-list-1.xsd new file mode 100644 index 00000000..cc22ba88 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-list-1.xsd @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + <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.2 2005/09/26 22:54:53 ahby 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="xhtml.dt.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.dt.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.dt.type" mixed="true"> + <xs:group ref="xhtml.dt.content"/> + <xs:attributeGroup ref="xhtml.dt.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.dd.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.dd.content"> + <xs:sequence> + <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.dd.type" mixed="true"> + <xs:group ref="xhtml.dd.content"/> + <xs:attributeGroup ref="xhtml.dd.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.dl.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.dl.content"> + <xs:sequence> + <xs:choice maxOccurs="unbounded"> + <xs:element name="dt" type="xhtml.dt.type"/> + <xs:element name="dd" type="xhtml.dd.type"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.dl.type"> + <xs:group ref="xhtml.dl.content"/> + <xs:attributeGroup ref="xhtml.dl.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.li.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.li.content"> + <xs:sequence> + <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.li.type" mixed="true"> + <xs:group ref="xhtml.li.content"/> + <xs:attributeGroup ref="xhtml.li.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.ol.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.ol.content"> + <xs:sequence> + <xs:element name="li" type="xhtml.li.type" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.ol.type"> + <xs:group ref="xhtml.ol.content"/> + <xs:attributeGroup ref="xhtml.ol.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.ul.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.ul.content"> + <xs:sequence> + <xs:element name="li" type="xhtml.li.type" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.ul.type"> + <xs:group ref="xhtml.ul.content"/> + <xs:attributeGroup ref="xhtml.ul.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-pres-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-pres-1.xsd new file mode 100644 index 00000000..bc36fc48 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-pres-1.xsd @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + <xs:annotation> + <xs:documentation> + This is the XML Schema Presentation module for XHTML + This is a REQUIRED module. + $Id: xhtml-pres-1.xsd,v 1.2 2005/09/26 22:54:53 ahby Exp $ + </xs:documentation> + <xs:documentation source="xhtml-copyright-1.xsd"/> + </xs:annotation> + <xs:annotation> + <xs:documentation> + Presentational Elements + + This module defines elements and their attributes for + simple presentation-related markup. + + Elements defined here: + + * hr + * b, big, i, small, sub, sup, tt + </xs:documentation> + <xs:documentation source="http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/abstract_modules.html#s_presentationmodule"/> + </xs:annotation> + <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-inlpres-1.xsd"> + <xs:annotation> + <xs:documentation> + Inline Presentational module + Elements defined here: + + * b, big, i, small, sub, sup, tt + </xs:documentation> + </xs:annotation> + </xs:include> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-struct-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-struct-1.xsd new file mode 100644 index 00000000..39c8055d --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-struct-1.xsd @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"> + <xs:import + namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd"/> + <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.10 2008/07/05 04:11:00 ahby 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:import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="xml.xsd"> + <xs:annotation> + <xs:documentation> + This import brings in the XML namespace attributes + The module itself does not provide the schemaLocation + and expects the driver schema to provide the + actual SchemaLocation. + </xs:documentation> + </xs:annotation> + </xs:import> + <xs:attributeGroup + name="xhtml.title.attlist"> + <xs:attributeGroup + ref="xhtml.I18n.attrib"/> + <xs:attributeGroup ref="xhtml.id"/> + <xs:attribute ref="xml:space"/> + </xs:attributeGroup> + <xs:group + name="xhtml.title.content"> + <xs:sequence/> + </xs:group> + <xs:complexType + name="xhtml.title.type" + mixed="true"> + <xs:group + ref="xhtml.title.content"/> + <xs:attributeGroup + ref="xhtml.title.attlist"/> + </xs:complexType> + <xs:attributeGroup + name="xhtml.profile.attrib"> + <xs:attribute + name="profile" + type="xh11d:URI"/> + </xs:attributeGroup> + <xs:attributeGroup + name="xhtml.head.attlist"> + <xs:attributeGroup + ref="xhtml.profile.attrib"/> + <xs:attributeGroup + ref="xhtml.I18n.attrib"/> + <xs:attributeGroup ref="xhtml.id"/> + <xs:attribute ref="xml:space"/> + </xs:attributeGroup> + <xs:complexType + name="xhtml.head.type"> + <xs:group + ref="xhtml.head.content"/> + <xs:attributeGroup + ref="xhtml.head.attlist"/> + </xs:complexType> + <xs:attributeGroup + name="xhtml.body.attlist"> + <xs:attributeGroup + ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group + name="xhtml.body.content"> + <xs:sequence> + <xs:group + ref="xhtml.Block.mix" + minOccurs="0" + maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType + name="xhtml.body.type"> + <xs:group + ref="xhtml.body.content"/> + <xs:attributeGroup + ref="xhtml.body.attlist"/> + </xs:complexType> + <xs:attributeGroup + name="xhtml.version.attrib"> + <xs:attribute + name="version" + type="xh11d:CDATA"/> + </xs:attributeGroup> + <xs:attributeGroup + name="xhtml.html.attlist"> + <xs:attributeGroup + ref="xhtml.version.attrib"/> + <xs:attributeGroup + ref="xhtml.I18n.attrib"/> + <xs:attributeGroup ref="xhtml.id"/> + <xs:attribute ref="xml:space"/> + </xs:attributeGroup> + <xs:group + name="xhtml.html.content"> + <xs:sequence> + <xs:element + name="head" + type="xhtml.head.type"/> + <xs:element + name="body" + type="xhtml.body.type"/> + </xs:sequence> + </xs:group> + <xs:complexType + name="xhtml.html.type"> + <xs:group + ref="xhtml.html.content"/> + <xs:attributeGroup + ref="xhtml.html.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-style-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-style-1.xsd new file mode 100644 index 00000000..1b3e7d3b --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-style-1.xsd @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + + <xs:annotation> + <xs:documentation> + This is the XML Schema Stylesheets module for XHTML + $Id: xhtml-style-1.xsd,v 1.5 2006/09/11 10:14:57 ahby 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:annotation> + <xs:documentation> + This import brings in the XML namespace attributes + The module itself does not provide the schemaLocation + and expects the driver schema to provide the + actual SchemaLocation. + </xs:documentation> + </xs:annotation> + </xs:import> + <xs:attributeGroup name="xhtml.style.attlist"> + <xs:attributeGroup ref="xhtml.id"/> + <xs:attributeGroup ref="xhtml.title"/> + <xs:attributeGroup ref="xhtml.I18n.attrib"/> + <xs:attribute name="type" type="xh11d:ContentType" use="required"/> + <xs:attribute name="media" type="xh11d:MediaDesc"/> + </xs:attributeGroup> + <xs:group name="xhtml.style.content"> + <xs:sequence/> + </xs:group> + <xs:complexType name="xhtml.style.type" mixed="true"> + <xs:group ref="xhtml.style.content"/> + <xs:attributeGroup ref="xhtml.style.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-table-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-table-1.xsd new file mode 100644 index 00000000..ec76db3c --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-table-1.xsd @@ -0,0 +1,272 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + + <xs:annotation> + <xs:documentation> + This is the XML Schema Tables module for XHTML + $Id: xhtml-table-1.xsd,v 1.3 2005/09/26 22:54:53 ahby 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="xhtml.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="xhtml.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="xhtml.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="xhtml.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="xh11d:Character"/> + <xs:attribute name="charoff" type="xh11d:Length"/> + </xs:attributeGroup> + <xs:attributeGroup name="xhtml.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="xhtml.td.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="abbr" type="xh11d:Text"/> + <xs:attribute name="axis" type="xh11d:CDATA"/> + <xs:attribute name="headers" type="xs:IDREFS"/> + <xs:attributeGroup ref="xhtml.scope.attrib"/> + <xs:attribute name="rowspan" type="xh11d:Number" default="1"/> + <xs:attribute name="colspan" type="xh11d:Number" default="1"/> + <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/> + <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.td.content"> + <xs:sequence> + <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.td.type" mixed="true"> + <xs:group ref="xhtml.td.content"/> + <xs:attributeGroup ref="xhtml.td.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.th.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="abbr" type="xh11d:Text"/> + <xs:attribute name="axis" type="xh11d:CDATA"/> + <xs:attribute name="headers" type="xs:IDREFS"/> + <xs:attributeGroup ref="xhtml.scope.attrib"/> + <xs:attribute name="rowspan" type="xh11d:Number" default="1"/> + <xs:attribute name="colspan" type="xh11d:Number" default="1"/> + <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/> + <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.th.content"> + <xs:sequence> + <xs:group ref="xhtml.Flow.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.th.type" mixed="true"> + <xs:group ref="xhtml.th.content"/> + <xs:attributeGroup ref="xhtml.th.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.tr.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/> + <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.tr.content"> + <xs:sequence> + <xs:choice maxOccurs="unbounded"> + <xs:element name="th" type="xhtml.th.type"/> + <xs:element name="td" type="xhtml.td.type"/> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.tr.type"> + <xs:group ref="xhtml.tr.content"/> + <xs:attributeGroup ref="xhtml.tr.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.col.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="span" type="xh11d:Number" default="1"/> + <xs:attribute name="width" type="xh11d:MultiLength"/> + <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/> + <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.col.content"> + <xs:sequence/> + </xs:group> + <xs:complexType name="xhtml.col.type"> + <xs:group ref="xhtml.col.content"/> + <xs:attributeGroup ref="xhtml.col.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.colgroup.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="span" type="xh11d:Number" default="1"/> + <xs:attribute name="width" type="xh11d:MultiLength"/> + <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/> + <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.colgroup.content"> + <xs:sequence> + <xs:element name="col" type="xhtml.col.type" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.colgroup.type"> + <xs:group ref="xhtml.colgroup.content"/> + <xs:attributeGroup ref="xhtml.colgroup.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.tbody.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/> + <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.tbody.content"> + <xs:sequence> + <xs:element name="tr" type="xhtml.tr.type" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.tbody.type"> + <xs:group ref="xhtml.tbody.content"/> + <xs:attributeGroup ref="xhtml.tbody.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.tfoot.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/> + <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.tfoot.content"> + <xs:sequence> + <xs:element name="tr" type="xhtml.tr.type" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.tfoot.type"> + <xs:group ref="xhtml.tfoot.content"/> + <xs:attributeGroup ref="xhtml.tfoot.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.thead.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attributeGroup ref="xhtml.CellHAlign.attrib"/> + <xs:attributeGroup ref="xhtml.CellVAlign.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.thead.content"> + <xs:sequence> + <xs:element name="tr" type="xhtml.tr.type" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.thead.type"> + <xs:group ref="xhtml.thead.content"/> + <xs:attributeGroup ref="xhtml.thead.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.caption.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + </xs:attributeGroup> + <xs:group name="xhtml.caption.content"> + <xs:sequence> + <xs:group ref="xhtml.Inline.mix" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.caption.type" mixed="true"> + <xs:group ref="xhtml.caption.content"/> + <xs:attributeGroup ref="xhtml.caption.attlist"/> + </xs:complexType> + <xs:attributeGroup name="xhtml.table.attlist"> + <xs:attributeGroup ref="xhtml.Common.attrib"/> + <xs:attribute name="summary" type="xh11d:Text"/> + <xs:attribute name="width" type="xh11d:Length"/> + <xs:attribute name="border" type="xh11d:Pixels"/> + <xs:attributeGroup ref="xhtml.frame.attrib"/> + <xs:attributeGroup ref="xhtml.rules.attrib"/> + <xs:attribute name="cellspacing" type="xh11d:Length"/> + <xs:attribute name="cellpadding" type="xh11d:Length"/> + </xs:attributeGroup> + <xs:group name="xhtml.table.content"> + <xs:sequence> + <xs:element name="caption" type="xhtml.caption.type" minOccurs="0"/> + <xs:choice> + <xs:element name="col" type="xhtml.col.type" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="colgroup" type="xhtml.colgroup.type" minOccurs="0" maxOccurs="unbounded"/> + </xs:choice> + <xs:choice> + <xs:sequence> + <xs:element name="thead" type="xhtml.thead.type" minOccurs="0"/> + <xs:element name="tfoot" type="xhtml.tfoot.type" minOccurs="0"/> + <xs:element name="tbody" type="xhtml.tbody.type" maxOccurs="unbounded"/> + </xs:sequence> + <xs:choice> + <xs:element name="tr" type="xhtml.tr.type" maxOccurs="unbounded"/> + </xs:choice> + </xs:choice> + </xs:sequence> + </xs:group> + <xs:complexType name="xhtml.table.type"> + <xs:group ref="xhtml.table.content"/> + <xs:attributeGroup ref="xhtml.table.attlist"/> + </xs:complexType> +</xs:schema> diff --git a/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-text-1.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-text-1.xsd new file mode 100644 index 00000000..432bdad7 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xhtml-text-1.xsd @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema + xmlns:xs="http://www.w3.org/2001/XMLSchema" + elementFormDefault="qualified" + xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/" +> + <xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" + schemaLocation="xhtml-datatypes-1.xsd" /> + <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.2 2005/09/26 22:54:53 ahby 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/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xml.xsd b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xml.xsd new file mode 100644 index 00000000..eeb9db56 --- /dev/null +++ b/BKUViewer/src/main/resources/at/gv/egiz/bku/slxhtml/xml.xsd @@ -0,0 +1,145 @@ +<?xml version='1.0'?> +<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. + + This schema document describes the XML namespace, in a form + suitable for import by other schema documents. + + Note that local names in this namespace are intended to be defined + only by the World Wide Web Consortium or its subgroups. The + following names are currently defined in this namespace and should + not be used with conflicting semantics by any Working Group, + specification, or document instance: + + base (as an attribute name): denotes an attribute whose value + provides a URI to be used as the base for interpreting any + relative URIs in the scope of the element on which it + appears; its value is inherited. This name is reserved + by virtue of its definition in the XML Base specification. + + id (as an attribute name): denotes an attribute whose value + should be interpreted as if declared to be of type ID. + This name is reserved by virtue of its definition in the + xml:id specification. + + lang (as an attribute name): denotes an attribute whose value + is a language code for the natural language of the content of + any element; its value is inherited. This name is reserved + by virtue of its definition in the XML specification. + + space (as an attribute name): denotes an attribute whose + value is a keyword indicating what whitespace processing + discipline is intended for the content of the element; its + value is inherited. This name is reserved by virtue of its + definition in the XML specification. + + Father (in any context at all): denotes Jon Bosak, the chair of + the original XML Working Group. This name is reserved by + the following decision of the W3C XML Plenary and + XML Coordination groups: + + In appreciation for his vision, leadership and dedication + the W3C XML Plenary on this 10th day of February, 2000 + reserves for Jon Bosak in perpetuity the XML name + xml:Father + </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, xml:space or xml:id + 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/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/2007/08/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, or with the XML namespace itself. In other words, if the XML + Schema or XML namespaces change, the version of this document at + http://www.w3.org/2001/xml.xsd will change + accordingly; the version at + http://www.w3.org/2007/08/xml.xsd will not change. + </xs:documentation> + </xs:annotation> + + <xs:attribute name="lang"> + <xs:annotation> + <xs:documentation>Attempting to install the relevant ISO 2- and 3-letter + codes as the enumerated possible values is probably never + going to be a realistic possibility. See + RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry + at http://www.iana.org/assignments/lang-tag-apps.htm for + further information. + + The union allows for the 'un-declaration' of xml:lang with + the empty string.</xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:union memberTypes="xs:language"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value=""/> + </xs:restriction> + </xs:simpleType> + </xs:union> + </xs:simpleType> + </xs:attribute> + + <xs:attribute name="space"> + <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:attribute name="id" type="xs:ID"> + <xs:annotation> + <xs:documentation>See http://www.w3.org/TR/xml-id/ 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:attribute ref="xml:id"/> + </xs:attributeGroup> + +</xs:schema> |