[xmlsec] Verifying error for proper xml document

Aleksey Sanin aleksey at aleksey.com
Thu Apr 10 11:40:29 PDT 2003

The ID attribute value "1623...." in your file is not valid.
If I understand spec correctly, ID attribute starting from
a digit is *not* valid:

        Values of type *ID* must match the Name 
<http://www.w3.org/TR/REC-xml#NT-Name> production.

        [5]  Name     ::= (Letter | '_' | ':') (NameChar)*  

        [84] Letter   ::= BaseChar | Ideographic
        [85] BaseChar ::= [#x0041-#x005A] | [#x0061-#x007A] | ....

    ascii('0') = 0x30
    ascii('9') = 0x39

Recently Daniel made some changes in the ID attributes processing
     [xml] Release of libxml2-2.5.6

	* bug fixes: non-ASCII IDs,...

and I guess this broke your test. 


P.S. Sorry for posting in two mailing lists but I want to make sure
I did not mis-understood the spec and I know how much Daniel likes
questions sent to his personal email :)

[aleksey at lsh arda]$ cat formatted.xml
<?xml version="1.0"?>
<!DOCTYPE test [
  <Message id="9bbda064e1d145738dd897becad0292e760df736">
    <PARes id="162354165">

Arda Tekin wrote:

>Finally I verified the PARes.xml ! But I found that verificiation works with
>following versions.
>libxmlsec.dll                     v.0.0.14
>libxslt.dll                       v.1.0.27
>libxml2.dll                       v.2.5.4
>ssleay32.dll                      v.0.9.7
>libeay32.dll                      v.0.9.7
>but any other version combination does not work.
>Thank you,

More information about the xmlsec mailing list