SubEthaEdit icon indicating copy to clipboard operation
SubEthaEdit copied to clipboard

DTD validation

Open mmeiborg opened this issue 4 years ago • 1 comments

Title: DTD validation?


Short Description

Hi, I've spend some time on XML validation, but I am starting to think it is not me...

Steps to Reproduce the Issue

  1. Here is an XML file in another XML editor. The DTD is assigned. At the bottom of the screen below you see the XML errors (forced for this example) in this file.
    Screenshot_2022-02-06_at_14_45_09

Expected Result

When using SubEthaEdit for XML validation, it should give those errors as well. Below is what happens:

Actual Result

  1. I load the same file in SubEthaEdit:
    Screenshot_2022-02-06_at_14_46_06

  2. When selecting Mode >> Validate it reports "no DTD found !":
    Screenshot 2022-02-06 at 14 46 18

  3. When I put the DTD in the same directory as the XML and therefore adapt DOCTYPE to <!DOCTYPE fcpxml SYSTEM "fcpxmlv19.dtd"> there is an extra "failed to load external entity" error before "no DTD found !"
    Screenshot 2022-02-06 at 15 15 57

  4. Later I added SubEthaEdit to System preferences >> Security & privacy >> Privacy >> Full Disk Access but the issue remains the same.

For your convenience I have added the XML and DTD in a zip: dtd-error.zip

Environment

  • SubEthaEdit: Version 5.2.4 (9810)
  • System: Version 10.14.6 (Build 18G5033)
  • Language: English
Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro10,1
      Processor Name: Intel Core i7
      Processor Speed: 2,4 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Hyper-Threading Technology: Enabled
      Memory: 8 GB
      Boot ROM Version: 261.0.0.0.0
      SMC Version (system): 2.3f36
      Serial Number (system): C02L106TFFT0
      Hardware UUID: 1D3D3FFB-13C8-503C-BB40-16AEFD571832


``






 

mmeiborg avatar Feb 06 '22 14:02 mmeiborg

Just experienced something very similar. I get the same error message for validating with an XSD schema that was in place but according to SubEthaEdit not available (DTD not found).

jallmer avatar Nov 04 '22 13:11 jallmer