bigdata-mx / factura-electronica

Librería de componentes Java para el desarrollo de aplicaciones de Factura Electrónica (CFDI)
Apache License 2.0
94 stars 107 forks source link

facturas 3.2 SAXParseException AnonType_folioComprobante #113

Closed tequisoft closed 10 years ago

tequisoft commented 10 years ago

Al validar una factura 3.2 me marca el siguiente error

org.xml.sax.SAXParseException at javax.xml.bind.util.JAXBSource$1.parse(JAXBSource.java:246) at javax.xml.bind.util.JAXBSource$1.parse(JAXBSource.java:231) at javax.xml.validation.Validator.validate(Validator.java:124) at mx.bigdata.sat.cfdi.CFDv32.validar(CFDv32.java:163) at mx.bigdata.sat.cfdi.CFDv32.validar(CFDv32.java:148) at com.bovedafiscal.services.xml.ParserService.parse(ParserService.groovy:120) at com.bovedafiscal.services.XmlProcesadorService$_processFiles_closure1_closure2_closure3.doCall(XmlProcesadorService.groovy:122) at org.grails.datastore.gorm.GormStaticApi.withTransaction(GormStaticApi.groovy:687) at com.bovedafiscal.services.XmlProcesadorService$_processFiles_closure1_closure2.doCall(XmlProcesadorService.groovy:120) at groovyx.gpars.pa.GParsPoolUtilHelper$_eachParallelPA_closure8.doCall(GParsPoolUtilHelper.groovy:189) at groovyx.gpars.extra166y.AbstractParallelAnyArray$OUPap.leafApply(AbstractParallelAnyArray.java:640) at groovyx.gpars.extra166y.PAS$FJOApply.atLeaf(PAS.java:147) at groovyx.gpars.extra166y.PAS$FJBase.compute(PAS.java:108) at jsr166y.RecursiveAction.exec(RecursiveAction.java:148) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:305) at jsr166y.ForkJoinWorkerThread.execTask(ForkJoinWorkerThread.java:575) at jsr166y.ForkJoinPool.scan(ForkJoinPool.java:755) at jsr166y.ForkJoinPool.work(ForkJoinPool.java:617) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:369) Caused by: javax.xml.bind.MarshalException

La cabecera del xml es la siguiente..

<?xml version="1.0" encoding="utf-8"?>

alguna idea del problema.

tequisoft commented 10 years ago

cfdi:Comprobante xmlns:cfdi="http://www.sat.gob.mx/cfd/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sat.gob.mx/cfd/3 http://www.sat.gob.mx/sitio_internet/cfd/3/cfdv32.xsd" version="3.2" fecha="2013-07-08T16:27:36" formaDePago="PAGO EN UNA SOLA EXHIBICION" noCertificado="00001000000202472765" subTotal="684.00" TipoCambio="1.00" Moneda="MXN" total="684.00" metodoDePago="TARJETA BANCARIA" tipoDeComprobante="ingreso" LugarExpedicion="GUSTAVO A MADERO, DISTRITO FEDERAL" NumCtaPago="No Identificado" certificado="..." sello="...." serie="B" folio="49527C0D-0234-4E60-90E1-26A303FD3D43"