mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-11592: Post-upgrade differencing bug
Character data now handled correctly in XML parsing logic. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32200 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -38,6 +38,8 @@ import org.alfresco.util.schemacomp.validator.DbValidator;
|
||||
import org.alfresco.util.schemacomp.validator.NameValidator;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
import org.springframework.core.io.Resource;
|
||||
|
||||
/**
|
||||
* Tests for the XMLToSchema class.
|
||||
@@ -52,7 +54,8 @@ public class XMLToSchemaTest
|
||||
@Before
|
||||
public void setUp() throws Exception
|
||||
{
|
||||
in = new BufferedInputStream(getClass().getResourceAsStream("xml_to_schema_test.xml"));
|
||||
Resource testFileResource = new ClassPathResource("schemacomp/xml_to_schema_test.xml");
|
||||
in = new BufferedInputStream(testFileResource.getInputStream());
|
||||
xmlToSchema = new XMLToSchema(in);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user