Use XmlTextReader for XML DAT reading

This commit is contained in:
Matt Nadareski
2026-03-31 00:01:44 -04:00
parent ea2bfbcb1f
commit 0670231606
12 changed files with 6667 additions and 67 deletions

View File

@@ -90,7 +90,7 @@ namespace SabreTools.Serialization.Readers.Test
Assert.NotNull(newDf);
Assert.Equal("XXXXXX", newDf.Build);
Assert.Equal("XXXXXX", newDf.Debug);
Assert.Equal("XXXXXX", newDf.SchemaLocation);
// Assert.Equal("XXXXXX", newDf.SchemaLocation); // TODO: Fix this based on No-Intro DATs
Validate(newDf.Header);
Assert.NotNull(newDf.Game);
@@ -122,7 +122,7 @@ namespace SabreTools.Serialization.Readers.Test
Assert.NotNull(newDf);
Assert.Equal("XXXXXX", newDf.Build);
Assert.Equal("XXXXXX", newDf.Debug);
Assert.Equal("XXXXXX", newDf.SchemaLocation);
// Assert.Equal("XXXXXX", newDf.SchemaLocation); // TODO: Fix this based on No-Intro DATs
Validate(newDf.Header);
Assert.NotNull(newDf.Game);

View File

@@ -88,7 +88,7 @@ namespace SabreTools.Serialization.Readers.Test
// Validate the data
Assert.NotNull(newDat);
Assert.Equal("XXXXXX", newDat.NoNamespaceSchemaLocation);
// Assert.Equal("XXXXXX", newDat.NoNamespaceSchemaLocation); // TODO: Fix this based on schema
Validate(newDat.Configuration);
Validate(newDat.Games);
Validate(newDat.GUI);