[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

question on important and restriction

From: Joseph M. Reagle Jr. <reagle@w3.org>
Date: Sun, 18 Feb 2001 02:27:30 -0500 (EST)
To: <xmlschema-dev@w3.org>
Message-ID: <Pine.LNX.4.30.0102180221160.11686-100000@tux.w3.org>
define xsd type exmple

Can someone give me a hint as to what exactly I'm doing wrong, or how I
might better achieve what I'm trying to do: create a xenc:CipherReference
akin to a ds:Reference but I don't need ds:DigestMethod, ds:DigestValue,
nor the ds:Type attribute

http://policy.w3.org/01-17-xmlenc-schema.xsd

<EncryptedData xmlns="http://www.w3.org/2001/02/xmlenc#">
  <EncryptionMethod Algorithm="foo"/>
  <EncryptedKey NameKey="Joe">
    <EncryptionMethod Algorithm="foo"/>
    <CipherData>123</CipherData>
  </EncryptedKey>
  <CipherReference URI="http://example.com/foo">
    <Transforms>
       <Transform Algorithm="http://www.exmple.org/base64"/>
    </Transforms>
  </CipherReference>
</EncryptedData>

...
<invalid char='8' code='cvc-complex-type.1.2.4' line='9'
resource='file:/d:/2tmp
/test.xml'>element {http://www.w3.org/2001/02/xmlenc#}:Transform not
allowed her
e in element {http://www.w3.org/2001/02/xmlenc#}:Transforms:
<fsm>
...
Received on Sunday, 18 February 2001 02:27:30 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.