Rank: Newbie
Joined: 2/7/2018 Posts: 2 Location: Australia
|
Hi
I have an evaluation version of RaptorXML server 2018, I have some XSLT templates that have been generated using style vision which I am wanting to transform against an object which has been serialized to XML when I call the XMLValidator.IsValid() function against this XML I get the following error message:
FatalError: file:///C:/data.xml:2: No document type declaration specified. Hint: An XML document can't be valid without DTD, but it can still be well-for
My Question is MUST I have a DTD to perform an XSLT transform using RaptorXML server, is there some way I can tell it to ignore the missing DTD?
I am using C# as my programming language
|
Rank: Advanced Member
Joined: 2/27/2009 Posts: 565
|
If you're calling isValid(), you're trying to validate the document. What do you want to validate it against? You can validate it against a DTD or an XML schema.
|