Open JohanLarsson opened 5 years ago
[TestCase('a')]
[TestCase('\t')]
public void Char(char value)
{
var with = new WithMutable<char> { Value = value };
var actual = Xml.Serialize(with);
var expected = Reference.Xml(with);
Assert.AreEqual(expected, actual);
}
Where would BigInteger fall in the grand scheme of things?
IntPtr and UIntPtr are primitive types too, I think.
Would byte[]
as base64 be considered an XML primitive?
@jnm2 how would you like the defaults for serializing DateTime
& DateTimeOffset
? I'm thinking UTC and ISO8601 as default.
ISO 8601 would be my preference.
Specification: https://www.w3.org/TR/xmlschema-2/