Copyright © 2011 W3C ® ( MIT , ERCIM , Keio ), All Rights Reserved. W3C liability , trademark and document use rules apply.
This document serves to publish RELAX NG schemas for XML Security specifications, including XML Signature 1.1, and XML Signature Properties.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
This Working Draft collects non-normative RELAX NG Schemas for XML Security specifications, including XML Signature 1.1, XML Encryption 1.1, XML Security Generic Hybrid Ciphers and XML Signature Properties. The normative description of the respective data formats are included in the Recommendation-track Working Drafts.
These schemas are drafts and subject to further revisions. This is a work in progress. This document is intended to evolve to include additional RELAX NG schemas.
This
A
diff-marked
version
of
this
specification
has
been
updated
since
that
highlights
changes
against
the
31
August
2010
publication
previous
version
is
available.
The
major
change
of
this
version
are
schema
file
corrections
to
also
reference
rng
files
in
addition
the
schemas
referenced
from
the
specification
to
rnc
files.
correct
typos
of
included
schema
file
names.
The
document
references
have
also
been
updated.
Please
review
differences
between
this
and
the
previous
Working
Draft
.
This document was published by the XML Security Working Group as a Working Draft. If you wish to make comments regarding this document, please send them to public-xmlsec@w3.org ( subscribe , archives ). All feedback is welcome.
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
This document was produced by a group operating under the 5 February 2004 W3C Patent Policy . The group does not expect this document to become a W3C Recommendation. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy .
The XML Security specifications include normative XML Schema [ XMLSCHEMA-1 ], [ XMLSCHEMA-2 ]. This note provides non-normative RELAX NG schemas in compact form [ RELAXNG-SCHEMA ].
These
RELAX
NG
schemas
are
highly
modularized.
This
modularization
has
two
significant
advantages.
First,
it
is
easy
to
create
schemas
dedicated
to
enveloped
or
enveloping
signatures.
Second,
it
is
easy
to
create
schemas
for
imposing
tight
constraints
where
<xsd:any>
in
the
original
XSD
schemas
does
not
impose
such
tight
constraints.
However, this modularization increases the number of schema modules.
First,
a
wildcard
schema
is
needed
for
each
core
schema
(e.g.,
xmldsig-core-schema.rnc
(
xmldsig-core-schema.rng
)
and
xenc-schema.rnc
(
xenc-schema.rng
)).
Wildcard
schemas
mimic
<xsd:any>
in
core
schemas.
A
wildcard
can
be
further
customized
by
a
driver
schema
or
it
can
be
simply
replaced
by
another
schema
when
tight
constraints
have
to
be
hardcoded.
Second, one top-level schema is needed for each combination of core schemas and the choice from the "enveloping" and "enveloped" options. In this note, we only provide top-level schemas for enveloped signatures or encryptions, but it is easy to create top-level schemas for enveloping signatures.
This section is non-normative.
The following are RELAX NG schema files that are included in other files described in this document.
anyElement
and
anyAttribute
RNG Schema to allow Exclusive Canonicalization algorithms.
This section is non-normative.
The following are RELAX NG schemas for XML Signature 1.0 [ XMLDSIG-CORE ].
xsd:any
xsd:any
.
This section is non-normative.
The following are RELAX NG schemas for XML Signature 1.1 [ XMLDSIG-CORE1 ].
xsd:any
xsd:any
.
This section is non-normative.
The following are RELAX NG schemas for XML Signature Properties [ XMLDSIG-PROPERTIES ].
Valid RNG Schema instance.
This section is non-normative.
The following is a RELAX NG schema for XML Encryption 1.0 [ XMLENC-CORE ].
xsd:any
xsd:any
.
This section is non-normative.
The following are RELAX NG schemas for XML Encryption 1.1 [ XMLENC-CORE1 ].
xsd:any
This section is non-normative.
The following are RELAX NG schemas for XML Security Generic Hybrid Ciphers [ XMLSEC-GHCIPHERS ].
xsd:any
Dated references below are to the latest known or appropriate edition of the referenced work. The referenced works may be subject to revision, and conformant implementations may follow, and are encouraged to investigate the appropriateness of following, some or all more recent editions or replacements of the works cited. It is in each case implementation-defined which editions are supported.
No normative references.