Skip to content

Commit db73d77

Browse files
- Adicionado System.getProperty("file.separator") como separado de arquivos
1 parent 9265be3 commit db73d77

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ ________________________________________________________________________________
4141
## v4.00.18 - SNAPSHOT - 09/01/2022 - Schemas PL.009f
4242
- Atualizado Cacert
4343
- Alteração WebService CE
44+
- Adicionado System.getProperty("file.separator") como separado de arquivos
4445

4546
Snapshot é a versão que se encontra em teste, só use em caso de extrema necessidade.
4647
Para usar, adicione o repositorio de Snapshot ao Maven:

src/main/java/br/com/swconsultoria/nfe/Validar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void validaXml(ConfiguracoesNfe config, String xml, ServicosEnum servico) throws
2323

2424
System.setProperty("jdk.xml.maxOccurLimit", "99999");
2525
String errosValidacao;
26-
String xsd = config.getPastaSchemas() + "/" + servico.getXsd();
26+
String xsd = config.getPastaSchemas() + System.getProperty("file.separator") + servico.getXsd();
2727
if (!new File(xsd).exists()) {
2828
throw new NfeException("Schema Nfe não Localizado: " + xsd);
2929
}

0 commit comments

Comments
 (0)