Author Topic: How to stop SE from attempting to load ancillary XSD files/refs?  (Read 3077 times)

smiller53

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
I load a XSD file containing,

<schema xmlns='http://www.w3.org/2001/XMLSchema'
               xmlns:bdem='http://.....

SE will try to find and load these files, which it never will because of fire-walls.
But once it starts one has to wait for about 2-3mins for a socket timeout. Until
that time the editor is non-responsive. How to stop?

Otherwise SE is cool.

smiller53

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
Re: How to stop SE from attempting to load ancillary XSD files/refs?
« Reply #1 on: April 23, 2018, 07:27:31 PM »
Yes, that's a really great question. Where to config SE to fix this?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: How to stop SE from attempting to load ancillary XSD files/refs?
« Reply #2 on: May 07, 2018, 01:30:03 AM »
I think you can add the file extension to the space delimited extension list in the macro variable "def_xml_no_schema_list" (Macro>Set Macro Variable...). I could be wrong about this. It looks like ".xsd" is already in the list (It's in mine). ".xml" is not in mine though.

smiller53

  • Junior Community Member
  • Posts: 5
  • Hero Points: 0
Re: How to stop SE from attempting to load ancillary XSD files/refs?
« Reply #3 on: May 07, 2018, 07:06:28 PM »
Your solution seems to work. great answer. great editor.