Posted by Erik Franzιn on 12/07/91 11:32
I totally missed that explanation on w3c.
Thanxs, now it works
/Erik
Rob wrote:
> Erik FranzΓ©n wrote:
>
>> I did a typo in the threads post.
>>
>> The dtd is:
>>
>> <!ELEMENT Document ANY>
>> <!ELEMENT CMAES_Model_DbSection ANY>
>> <!ATTLIST CMAES_Model_DbSection S_iSectionId ID #IMPLIED>
>>
>> but it gives the warning when DomDocument::validate() is called:
>>
>> Warning: Syntax of value for attribute S_iSectionId of
>> CMAES_Model_DbSection is not valid in <script> on line 23
>
>
> See the validity constraints for an ID in the XML specs:
> http://www.w3.org/TR/2004/REC-xml-20040204/#id
>
> Values of IDs must conform to the following syntax to be valid:
> (Letter | '_' | ':') (NameChar)*
>
> Yours start with a numeric which is why it doesn't validate.
>
> Rob
>
[Back to original message]
|