Re: [xml] Re: [xmlsec] Verifying error for proper xml document

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:
        Values of type *ID* must match the Name 
<> production.
        [5]  Name     ::= (Letter | '_' | ':') (NameChar)*  
[aleksey lsh arda]$ cat formatted.xml
<?xml version="1.0"?>
<!DOCTYPE test [
  <Message id="9bbda064e1d145738dd897becad0292e760df736">
    <PARes id="162354165">

  You're perfectly right that's bogus and cannot be used as an ID !


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]