- From: Frederick Hirsch <frederick.hirsch@nokia.com>
- Date: Mon, 9 Jun 2008 16:38:09 -0400
- To: XMLSec XMLSec <public-xmlsec-maintwg@w3.org>
- Cc: Frederick Hirsch <frederick.hirsch@nokia.com>
- Message-Id: <A714802D-4CE0-4087-9369-58B668372697@nokia.com>
Norm has a correction for RNC Schema for Object,
i.e. change anyElement* to (anyElement | text)* to allow text within
Object element.
Thank you very much Norm.
He was not able to reproduce error related to KeyInfo.
I noticed that with this schema diffRFCs-1-IAIK.xml validated in my
own test as well (also diffRFCs-1-Sun.xml), validating the XML file
directly with nxml and this schema (attached).
regards, Frederick
Frederick Hirsch
Nokia
Begin forwarded message:
> From: "ext Norman Walsh" <ndw@nwalsh.com>
> Date: June 9, 2008 3:40:53 PM EDT
> To: Frederick Hirsch <frederick.hirsch@nokia.com>
> Cc: Thomas Roessler <tlr@w3.org>
> Subject: Re: Fwd: XML Signature RNG Schema
>
> / Frederick Hirsch <frederick.hirsch@nokia.com> was heard to say:
> | You did not see this, due to the email address change. Thomas noted
> | two issues - if you have any thoughts on this it would be very
> | helpful.
>
> I don't think I did see it. Sorry for the delay.
>
> | Begin forwarded message:
> |
> |> From: "ext Thomas Roessler" <tlr@w3.org>
> |> Date: May 23, 2008 9:40:24 AM EDT
> |> To: Frederick Hirsch <frederick.hirsch@nokia.com>, XMLSec XMLSec
> |> <public-xmlsec-maintwg@w3.org>, Norman Walsh <Norman.Walsh@Sun.COM>
> |> Subject: Re: Fwd: XML Signature RNG Schema
> |>
> |> On 2008-05-06 16:07:29 +0200, Thomas Roessler wrote:
> |>
> |>> ./dname/diffRFCs-1-IAIK.xml:2: element KeyInfo: Relax-NG validity
> |>> error : Expecting element Object, got KeyInfo
>
> I don't get this error. What validator are you using?
>
> |>> ./dname/diffRFCs-1-IAIK.xml:2: element Object: Relax-NG validity
> |>> error : Expecting an element got text
>
> That's easy to fix:
>
> Object = element ds:Object {
> attribute Id { xsd:ID }?,
> attribute MimeType { xsd:string }?,
> attribute Encoding { xsd:anyURI }?,
> (anyElement|text)*
> }
>
> Be seeing you,
> norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | People say law but they mean wealth.--
> http://nwalsh.com/ | Emerson
Attachments
- application/octet-stream attachment: 2008-06-09-dsig.rnc
Received on Monday, 9 June 2008 20:44:56 UTC