[oXygen-user] NCName not valid

George Cristian Bina
Sun Jan 10 13:21:44 CST 2010


Hi Mark,

IDs are defined as NCName and they cannot start with digits.
For details see
http://www.w3.org/TR/REC-xml-names/#NT-NCName

Best Regards,
George
-- 
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

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 
> 
> 
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list