xmltools icon indicating copy to clipboard operation
xmltools copied to clipboard

DTD is prohibited

Open jimlynnjulian opened this issue 2 years ago • 1 comments

Using Notepad++ with xmltools syntax check on. I place a recommended DTD in the same folder as an xml file but when I open the xml file in notepad, after a few seconds, I get a warning message " DTD is prohibited." Online xml validators passed the xml file. The dtd was not tested. These are the firat few lines:

`?xml version="1.0"?

!DOCTYPE movie SYSTEM "cinemagoer.dtd"`

note: the original url given for the dtd is no longer active. I omitted the angle brackets due to display problems with this editor.

jimlynnjulian avatar May 24 '23 19:05 jimlynnjulian

I'm also having this issue:

<!DOCTYPE doc [
<!ATTLIST normId id ID #IMPLIED>
<!ATTLIST normNames attr NMTOKENS #IMPLIED>
]>
<doc>
   <text>First line
Second line</text>
   <value>2</value>
   <compute><![CDATA[value>"0" && value<"10" ?"valid":"error"]]></compute>
   <compute expr='value>"0" && value<"10" ?"valid":"error"'>valid</compute>
   <norm attr=' '    
	   ' '/>
   <normNames attr='   A    
	   B   '/>
   <normId id=' ' 
	 ' '/>
</doc>

Is there any update on this?

udlose avatar Feb 13 '25 17:02 udlose