Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTD validation #225

Open
mmeiborg opened this issue Feb 6, 2022 · 1 comment
Open

DTD validation #225

mmeiborg opened this issue Feb 6, 2022 · 1 comment

Comments

@mmeiborg
Copy link

mmeiborg commented Feb 6, 2022

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


``






 
@jallmer
Copy link

jallmer commented Nov 4, 2022

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants