Validação de XML

QUERO SABER QUAL A FALHA QUE OCORRE NO XML ABAIXO, PARA SAO PAULO.
OBS: COM O MESMO PADRÃO JÁ ENVIO PARA PERNAMBUCO.

225 Rejeição: Falha no Schema XML do lote de NFe

<?xml version="1.0" encoding="UTF-8"?>583500023080saida25500122602010-11-242010-11-2410:52:0013550308351011123663070001900100122601182102.0012366307000190GLOBE LOGISTICA LTDA EPPGLOBE LOGISTICA LTDA EPPRUA LATIF FAKHOURI295E 299VILA SANTA CATARINA3550308SAO PAULOSP147.385.850.11111173911000137UNILEVER BRASIL GELADOS DO NORDESTE SARODOVIA BR 232 KM 13SNCURADO2607901JABOATAO DOS GUARARAPESPE5422052018158000224267229196COVER 35 NATURAL020900116503KG4560.00004.530020656.80KG4560.00004.530010409999920656.800.000.000220656.800.000.000220656.800.000.00189271CHOC SPRAY ZERO TRANS020900116503KG323.00005.25001695.75KG323.00005.25001040999991695.750.000.00021695.750.000.00021695.750.000.0055884COBERTURA BRANCA LIQ020900116503KG1824.00008.670015814.08KG1824.00008.670010409999915814.080.000.000215814.080.000.000215814.080.000.0025417COBERTURA MAGNUM020900116503KG1824.000011.770021468.48KG1824.000011.770010409999921468.480.000.000221468.480.000.000221468.480.000.0018473GRANULADO CHOCOLATE DE GORDURA VEGETAL020900116503KG680.00004.07002767.60KG680.00004.07001040999992767.600.000.00022767.600.000.00022767.600.000.00209813PAPER+CONE CORNETTO CHOCOMIX INSPIRA 130ML020900116503MIL12.0000119.18001430.16MIL12.0000119.18001040999991430.160.000.00021430.160.000.00021430.160.000.00189271CHOC SPRAY ZERO TRANS020900116503KG1501.00005.25017880.40KG1501.00005.25011040999997880.400.000.00027880.400.000.00027880.400.000.0018473GRANULADO CHOCOLATE DE GORDURA VEGETAL020900116503KG355.00004.10701457.99KG355.00004.10701040999991457.980.000.00021457.980.000.00021457.980.000.0073171.260.000.000.0073171.260.000.000.000.000.000.000.000.0073171.2616h6OFp5X7J146ry0C3xgVZyf4dE=Ie1kZyRv0PDo1V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MvQUNfQ2VydGlzaWduX1JGQl9HMy5w
N2MwDQYJKoZIhvcNAQEFBQADggEBAGIA2yBvc81q+DJvv/bJrlqMeq9IR0wwVQkMRhgxNlH7SEgZ
PH0IfUvCjaWT/UszmYMhOGT6IgbSb9BBv5H5rIXe5Ohhhcaem0VT1pZlmp9k45MTOL10Sb8qItgY
Tn4a/o8/1nogq4GnMy4C4jFWitRnU7aopr1KR6APmcs6KOaMq1J/0czjr+vFerIoP6hJiOVkORtj
hLNJNsF7CRPN7kUFDjk3m3knvORvXV3RxzW4G4i36Ffhxk4adY21gRTDUQZHaCQNxox8l6HHQXLf
p/2mCZGSpsnv7lWdow2YIxWAXPcAh2sBx33+td5m3EGwNOtPgCnUNqn4fLUJn518IAU=

[quote=jonaspilha]QUERO SABER QUAL A FALHA QUE OCORRE NO XML ABAIXO, PARA SAO PAULO.
OBS: COM O MESMO PADRÃO JÁ ENVIO PARA PERNAMBUCO.

225 Rejeição: Falha no Schema XML do lote de NFe

<?xml version="1.0" encoding="UTF-8"?>583500023080saida25500122602010-11-242010-11-2410:52:0013550308351011123663070001900100122601182102.0012366307000190GLOBE LOGISTICA LTDA EPPGLOBE LOGISTICA LTDA EPPRUA LATIF FAKHOURI295E 299VILA SANTA CATARINA3550308SAO PAULOSP147.385.850.11111173911000137UNILEVER BRASIL GELADOS DO NORDESTE SARODOVIA BR 232 KM 13SNCURADO2607901JABOATAO DOS GUARARAPESPE5422052018158000224267229196COVER 35 NATURAL020900116503KG4560.00004.530020656.80KG4560.00004.530010409999920656.800.000.000220656.800.000.000220656.800.000.00189271CHOC SPRAY ZERO TRANS020900116503KG323.00005.25001695.75KG323.00005.25001040999991695.750.000.00021695.750.000.00021695.750.000.0055884COBERTURA BRANCA LIQ020900116503KG1824.00008.670015814.08KG1824.00008.670010409999915814.080.000.000215814.080.000.000215814.080.000.0025417COBERTURA MAGNUM020900116503KG1824.000011.770021468.48KG1824.000011.770010409999921468.480.000.000221468.480.000.000221468.480.000.0018473GRANULADO CHOCOLATE DE GORDURA VEGETAL020900116503KG680.00004.07002767.60KG680.00004.07001040999992767.600.000.00022767.600.000.00022767.600.000.00209813PAPER+CONE CORNETTO CHOCOMIX INSPIRA 130ML020900116503MIL12.0000119.18001430.16MIL12.0000119.18001040999991430.160.000.00021430.160.000.00021430.160.000.00189271CHOC SPRAY ZERO TRANS020900116503KG1501.00005.25017880.40KG1501.00005.25011040999997880.400.000.00027880.400.000.00027880.400.000.0018473GRANULADO CHOCOLATE DE GORDURA VEGETAL020900116503KG355.00004.10701457.99KG355.00004.10701040999991457.980.000.00021457.980.000.00021457.980.000.0073171.260.000.000.0073171.260.000.000.000.000.000.000.000.0073171.2616h6OFp5X7J146ry0C3xgVZyf4dE=Ie1kZyRv0PDo1VgeZvpzmbWWjxu/2JHypoq8XiWnmz+4wx9ug9DZ4EiwLEyhvi6VwgREB6WFTmEK

ahnoyzPenzC+sVssbAaMr2099IJLszGxaBb98QGvVJlFSShvuE1kxnxLf9iWLs+sjuSYJja5SpJO
Y6gc8ZBHbh9+zzw41O4=MIIG3DCCBcSgAwIBAgIQa6qRyu2+IsUpBJb9TOdiUzANBgkqhkiG9w0BAQUFADB4MQswCQYDVQQG
EwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE2MDQGA1UECxMtU2VjcmV0YXJpYSBkYSBSZWNlaXRh
IEZlZGVyYWwgZG8gQnJhc2lsIC0gUkZCMRwwGgYDVQQDExNBQyBDZXJ0aXNpZ24gUkZCIEczMB4X
DTEwMDcwODAwMDAwMFoXDTExMDcwNzIzNTk1OVowggETMQswCQYDVQQGEwJCUjELMAkGA1UECBMC
UEUxHTAbBgNVBAcUFEpBQk9BVEFPIERPUyBHVUFSQVJBMRMwEQYDVQQKFApJQ1AtQnJhc2lsMTYw
NAYDVQQLFC1TZWNyZXRhcmlhIGRhIFJlY2VpdGEgRmVkZXJhbCBkbyBCcmFzaWwgLSBSRkIxFjAU
BgNVBAsUDVJGQiBlLUNOUEogQTExODA2BgNVBAs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ljcGJyYXNpbC5nb3YuYnIvbGNyL1JGQi9BQ0NlcnRpc2lnblJGQkczL0xh
dGVzdENSTC5jcmwwVQYDVR0gBE4wTDBKBgZgTAECAQwwQDA+BggrBgEFBQcCARYyaHR0cDovL2lj
cC1icmFzaWwuY2VydGlzaWduLmNvbS5ici9yZXBvc2l0b3Jpby9kcGMwHQYDVR0lBBYwFAYIKwYB
BQUHAwQGCCsGAQUFBwMCMIGbBggrBgEFBQcBAQSBjjCBizAoBggrBgEFBQcwAYYcaHR0cDovL29j
c3AuY2VydGlzaWduLmNvbS5icjBfBggrBgEFBQcwAoZTaHR0cDovL2ljcC1icmFzaWwuY2VydGlz
aWduLmNvbS5ici9yZXBvc2l0b3Jpby9jZXJ0aWZpY2Fkb3MvQUNfQ2VydGlzaWduX1JGQl9HMy5w
N2MwDQYJKoZIhvcNAQEFBQADggEBAGIA2yBvc81q+DJvv/bJrlqMeq9IR0wwVQkMRhgxNlH7SEgZ
PH0IfUvCjaWT/UszmYMhOGT6IgbSb9BBv5H5rIXe5Ohhhcaem0VT1pZlmp9k45MTOL10Sb8qItgY
Tn4a/o8/1nogq4GnMy4C4jFWitRnU7aopr1KR6APmcs6KOaMq1J/0czjr+vFerIoP6hJiOVkORtj
hLNJNsF7CRPN7kUFDjk3m3knvORvXV3RxzW4G4i36Ffhxk4adY21gRTDUQZHaCQNxox8l6HHQXLf
p/2mCZGSpsnv7lWdow2YIxWAXPcAh2sBx33+td5m3EGwNOtPgCnUNqn4fLUJn518IAU=[/quote]

Dentro do elemento X509Certificate tem uma letra “a” que deveria ser “j”. Só não vou dizer qual.


Com este codigo ai de xml, ñ é possivel entender nada.
Se vc tiver o endereço do XSD o Schema de validação deste xml, no meu projeto OpenSutils-Br4j (
http://www.guj.com.br/posts/list/225445.java ) tem uma classe que faz a validação de xml a partir de um XSD, e mostra os erros encontrados no xml que não segue as regras definidas no xsd. vc pode usar caso o erro for de validação do xml, se tiver duvidas é só perguntar…

usa o validador do sefaz pra verificar o erro…fica mais fácil