Las CFD que genera el sistema que estoy usando son validadas como correctas en la pagina del SAT.
No obstante, el validador VALIDACFD V0.1 provisto en este foro (el cual me parece excelnte), me indica reiterativamente
un error:
xsi:schemaLocation /(indefinido) /Si /Este dato es obligatorio y no se ha definido
Aqui paso el ejemplo del encabezado de mis XML, que SI inlcuyen xsi:schemaLocation :
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<?xml version="1.0" encoding="utf-8"?>
<Comprobante xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:schemaLocation="http://www.sat.gob.mx/cfd/2 http://www.sat.gob.mx/sitio_internet/cfd/2/cfdv2.xsd" version="2.0" ... etc
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Alguien podria ayudarme?
Saludos
Luis

DESCARGA SOFTWARE PARA FACTURA ELECTRONICA DE AQUI.
Facturacion, Validacion, Addendas, Librerias de programacion, etc.
CARTA PORTE V3.1
ECODEX TIENE ESTOS NUEVOS DATOS DE CONTACTO :
Comercializacion y Ventas - Evelia Vicke evicke@ecodex.com.mx 33-16-03-03-48
Soporte - Humberto Guerrero soporte@ecodex.com.mx 33-34-90-46-03
.
xsi:schemaLocation INDEFINIDO
- Dado
- Mensajes: 15981
- Registrado: Mar Jul 06, 2010 7:56 pm
Re: xsi:schemaLocation INDEFINIDO
luiscarlosh escribió:Las CFD que genera el sistema que estoy usando son validadas como correctas en la pagina del SAT.
No obstante, el validador VALIDACFD V0.1 provisto en este foro (el cual me parece excelnte), me indica reiterativamente
un error:
xsi:schemaLocation /(indefinido) /Si /Este dato es obligatorio y no se ha definido
Aqui paso el ejemplo del encabezado de mis XML, que SI inlcuyen xsi:schemaLocation :
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<?xml version="1.0" encoding="utf-8"?>
<Comprobante xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:schemaLocation="http://www.sat.gob.mx/cfd/2 http://www.sat.gob.mx/sitio_internet/cfd/2/cfdv2.xsd" version="2.0" ... etc
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Alguien podria ayudarme?
Saludos
Luis
Tu XML dice xmlns:schemaLocation="http://www.sat.gob.mx/cfd/2
pero debe decir xsi:schemaLocation="http://www.sat.gob.mx/cfd/2
Fuente : Anexo 20
- Adjuntos
-
- xsi.jpg (33.48 KiB) Visto 9081 veces
ADDENDAS? VALIDACION? CODIGO PARA PROGRAMAR TU PROPIA SOLUCION? TODO LO TENEMOS EN WWW.VALIDACFD.COM VISITANOS !!
-
- Mensajes: 4
- Registrado: Lun Feb 21, 2011 3:29 pm
Re: xsi:schemaLocation INDEFINIDO
Gracias! es Correcto!
- Dado
- Mensajes: 15981
- Registrado: Mar Jul 06, 2010 7:56 pm
Re: xsi:schemaLocation INDEFINIDO
Sabes lo que cobro por algo asi?luiscarlosh escribió:Gracias! es Correcto!
Una botella de tequila o una invitacion a tu ciudad pa' ponernos bien jarra ...


Saludos.
ADDENDAS? VALIDACION? CODIGO PARA PROGRAMAR TU PROPIA SOLUCION? TODO LO TENEMOS EN WWW.VALIDACFD.COM VISITANOS !!
-
- Mensajes: 1
- Registrado: Lun Mar 14, 2011 4:20 pm
Re: xsi:schemaLocation INDEFINIDO
Buenas tardes,
Al generar mi xml en c#, sólo me pinta schemaLocation, en lugar de xsi:schemaLocation.
alguien saber porqué?
asi tengo mi código:
cfd.SetAttribute("xsi:schemaLocation", @"http://www.sat.gob.mx/cfd/2 http://www.sat.gob.mx/sitio_internet/cfd/2/cfdv2.xsd");
Asi me lo muestra:
<Comprobante xmlns="http://www.sat.gob.mx/cfd/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="http://www.sat.gob.mx/cfd/2 http://www.sat.gob.mx/sitio_internet/cfd/2/cfdv2.xsd" version="2.0" ..........>
Ya llevo vario tiempo haciendo pruebas, ojalá me puedan ayudar!
mil gracias!
Al generar mi xml en c#, sólo me pinta schemaLocation, en lugar de xsi:schemaLocation.
alguien saber porqué?
asi tengo mi código:
cfd.SetAttribute("xsi:schemaLocation", @"http://www.sat.gob.mx/cfd/2 http://www.sat.gob.mx/sitio_internet/cfd/2/cfdv2.xsd");
Asi me lo muestra:
<Comprobante xmlns="http://www.sat.gob.mx/cfd/2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="http://www.sat.gob.mx/cfd/2 http://www.sat.gob.mx/sitio_internet/cfd/2/cfdv2.xsd" version="2.0" ..........>
Ya llevo vario tiempo haciendo pruebas, ojalá me puedan ayudar!
mil gracias!