Thanks to everyone for quick and clear responses. I'll prefix a letter to the IDs. Regards, Mark
-------------------------------------------------- From: "Eliot Kimber" <[email protected]> Sent: Sunday, January 10, 2010 11:20 AM To: "Mark Wilson" <[email protected]>; "Oxygen User" <[email protected]> Subject: Re: [oXygen-user] NCName not valid > On 1/10/10 1:15 PM, "Mark Wilson" <[email protected]> wrote: > >> I have to generate a set of IDs in my XSL-FO file, and have done so. >> However, I get a complaint from Oxygen that: >> >> <fo:block " id="1-2">.... >> E [Xerces] cvc-datatype-valid.1.2.1: '1' is not a valid value for >> 'NCName'. >> >> My programs seem to work, and I do not understand why I am getting this >> complaint. I thought digits were valid. What is wrong? >> Mark > > XML IDs must start with a "name start character", e.g., a letter. Numbers > are not valid name start characters. > > FO engines that don't validate the FO document won't care, but engines > that > do will. > > Cheers, > > E. > > -- > Eliot Kimber > Senior Solutions Architect > "Bringing Strategy, Content, and Technology Together" > Main: 610.631.6770 > www.reallysi.com > www.rsuitecms.com > > > _______________________________________________ oXygen-user mailing list [email protected] http://www.oxygenxml.com/mailman/listinfo/oxygen-user
