IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: mgordon
About
User Name: mgordon
Forum Rank: Newbie
Real Name:
Location Australia
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Wednesday, February 7, 2018
Last Visit: Friday, February 9, 2018 4:47:00 AM
Number of Posts: 2
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Xslt transform: No document type declaration specified
Posted: Wednesday, February 7, 2018 11:36:14 PM
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

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.