[oXygen-user] NCName not valid
Mark Wilson
Sun Jan 10 13:30:33 CST 2010
Thanks to everyone for quick and clear responses. I'll prefix a letter to
the IDs.
Regards,
Mark
--------------------------------------------------
From: "Eliot Kimber" <>
Sent: Sunday, January 10, 2010 11:20 AM
To: "Mark Wilson" <>; "Oxygen User"
<>
Subject: Re: [oXygen-user] NCName not valid
> On 1/10/10 1:15 PM, "Mark Wilson" <> 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
>
>
>
More information about the oXygen-user
mailing list