[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Re: [xmlsec] Verifying error for proper xml document
- From: Daniel Veillard <veillard redhat com>
- To: Aleksey Sanin <aleksey aleksey com>
- Cc: Arda Tekin <arda tekin softhome net>, xmlsec aleksey com, xml <xml gnome org>
- Subject: Re: [xml] Re: [xmlsec] Verifying error for proper xml document
- Date: Thu, 10 Apr 2003 15:52:50 -0400
On Thu, Apr 10, 2003 at 11:40:29AM -0700, Aleksey Sanin wrote:
> 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:
>
> http://www.w3.org/TR/REC-xml#sec-attribute-types
> ...
> Values of type *ID* must match the Name
> <http://www.w3.org/TR/REC-xml#NT-Name> production.
> ...
>
> http://www.w3.org/TR/REC-xml#NT-Name
> [5] Name ::= (Letter | '_' | ':') (NameChar)*
[...]
> [aleksey lsh arda]$ cat formatted.xml
> <?xml version="1.0"?>
> <!DOCTYPE test [
> <!ATTLIST PARes id ID #IMPLIED>
> ]>
> <ThreeDSecure>
> <Message id="9bbda064e1d145738dd897becad0292e760df736">
> <PARes id="162354165">
> ....
You're perfectly right that's bogus and cannot be used as an ID !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]