<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XML validation in ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-validation-in-abap/m-p/922914#M59332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I've reward you, &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You said that you have include a directive like&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;!DOCTYPE bmecat SYSTEM "bmecat.dtd"&amp;gt;&amp;lt;/i&amp;gt; in your XML file(?); but for me this is not so useful because the report must display the cause of the invalitation, so I guess there are no ways to implement the validation in version 4.6C &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thank you anyway&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2005 11:24:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-13T11:24:47Z</dc:date>
    <item>
      <title>XML validation in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-validation-in-abap/m-p/922912#M59330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Need a little help,&lt;/P&gt;&lt;P&gt; I have implemeted a program which creates an XML file after an DTD(eq. BMEcat). &lt;/P&gt;&lt;P&gt; How a validation can be implemented in this report which check if the XML file is well formed after the DTD? &lt;/P&gt;&lt;P&gt; To mention that for creating the XML I used DOM from interface repository and the R/3 version is 4.6 C.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s. sorry for my english!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2005 05:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-validation-in-abap/m-p/922912#M59330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-13T05:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: XML validation in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-validation-in-abap/m-p/922913#M59331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bogdan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To my knowledge SAP only supports DTD validation as of version 6.x - but I might be wrong there. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under V6.x you can use the method set_validating of the IF_IXML_PARSER interface to turn validation on/off. The document is then checked against your DTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I always use an internal DTD (one contained in the XML document) and haven't tried using external DTDs (linked externally) yet - so I don't know if those work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps (please reward me if it does &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2005 09:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-validation-in-abap/m-p/922913#M59331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-13T09:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: XML validation in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-validation-in-abap/m-p/922914#M59332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I've reward you, &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  You said that you have include a directive like&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;!DOCTYPE bmecat SYSTEM "bmecat.dtd"&amp;gt;&amp;lt;/i&amp;gt; in your XML file(?); but for me this is not so useful because the report must display the cause of the invalitation, so I guess there are no ways to implement the validation in version 4.6C &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thank you anyway&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2005 11:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-validation-in-abap/m-p/922914#M59332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-13T11:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: XML validation in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/xml-validation-in-abap/m-p/922915#M59333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;g&lt;/STRONG&gt; Thanx &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I don't include an extarnal DTD with &amp;lt;!... SYSTEM ...!&amp;gt; but rather write the DTD explicitly with my XSL stylesheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But using the 6.20 validator gives rather precise error messages like "expected xyz element" etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe there is some other way to validate? Like an external program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2005 12:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/xml-validation-in-abap/m-p/922915#M59333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-13T12:18:52Z</dc:date>
    </item>
  </channel>
</rss>

