[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: E [Xerces] Attribute value "1" of type ID must be

Subject: RE: E [Xerces] Attribute value "1" of type ID must be an NCName when namespaces are enabled.
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 13 Aug 2009 12:18:03 +0100
RE:  E [Xerces] Attribute value "1" of type ID must be
The message means exactly what it says. For bizarre historical reasons that
few people remember, XML requires that an attribute value declared as being
of type ID has the same syntax as an XML name - so it cannot start with a
digit.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay


> -----Original Message-----
> From: Manuel Souto Pico [mailto:manuel.souto@xxxxxxxxxxxxxx]
> Sent: 13 August 2009 10:31
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  E [Xerces] Attribute value "1" of type ID must
> be an NCName when namespaces are enabled.
>
> Hi all,
>
> This might be more an XML-related issue than XSL-related, but
> it happens in a file that I produced with a XSL stylesheet.
>
> Could you help me interpret this error (in the subject)? What
> could I do to make the document valid?
>
> Thank you so much and have a nice day!
>
> My (simplified) file is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--<!DOCTYPE martif
>     PUBLIC "ISO 12200:1999A//DTD MARTIF core (DXFcdV04)//EN"
> "TBXcdv04.dtd">-->
> <!DOCTYPE martif SYSTEM "TBXcoreStructV02.dtd"> <martif
> xml:lang="en" type="TBX">
>     <martifHeader>
>         <fileDesc>
>             <sourceDesc>
>                 <p>Generated with TMX2TBX.xsl</p>
>             </sourceDesc>
>         </fileDesc>
>         <encodingDesc>
>             <p type="DCSName" />
>         </encodingDesc>
>     </martifHeader>
>     <text>
>         <body>
>             <termEntry id="1">
>                 <langSet xml:lang="eng-us">
>                     <tig>
>                         <term>About Manage reference material</term>
>                     </tig>
>                 </langSet>
>                 <langSet xml:lang="spa-es">
>                     <tig>
>                         <term>Acerca de la gestisn del
> material de referencia</term>
>                     </tig>
>                 </langSet>
>             </termEntry>
>         </body>
>     </text>
> </martif>
>
> --
> Manuel Souto Pico
> Terminrleg / Responsable de servei thcnic
> manuel.souto@xxxxxxxxxxxxxx <mailto:manuel.souto@xxxxxxxxxxxxxx>
>
> *STAR Servicios Ling|msticos*
> C. Sardenya, 195-197 (baixos)
> E-08013 Barcelona
> Tel. +34 932 440 889
> Fax: +34 932 471 273
> http://www.star-spain.com
> http://www.star-group.net <http://www.star-spain.com>
>
> En cumplimiento con lo previsto en los artmculos 21 y 22 de
> la Ley 34/2002, de 11 de julio, de Servicios de la Sociedad
> de Informacisn y Comercio Electrsnico (LSSI) y las
> disposiciones de la Ley Organica 15/1999, de 13 de diciembre
> de Proteccisn de Datos de Caracter Personal
> (LOPD) le informamos que procederemos al archivo y
> tratamiento de sus datos exclusivamente con fines de
> promocisn de los productos y servicios ofrecidos por STAR
> Servicios Ling|msticos, S.L. Este mensaje, y en su caso,
> cualquier fichero anexo al mismo, puede contener informacisn
> confidencial o legalmente protegida, siendo para uso
> exclusivo del destinatario. No hay renuncia a la
> confidencialidad o secreto profesional por cualquier
> transmisisn defectuosa o errsnea, y queda expresamente
> prohibida su divulgacisn, copia o distribucisn a terceros sin
> la autorizacisn expresa de STAR Servicios Ling|msticos, S.L.
> Si ha recibido este mensaje por error, se ruega lo notifique
> a STAR Servicios Ling|msticos enviando un mensaje al
> remitente o al correo electrsnico info@xxxxxxxxxxxxxx y
> proceda inmediatamente al borrado del mensaje original y de
> todas sus copias. Gracias por su colaboracisn. Si desea mas
> informacisn sobre sus derechos en lo que respecta al
> tratamiento de sus datos de caracter personal, visite
> http://www.star-spain.com/es/inicio/lopd.php

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.