How to disregard document namespaces but just use loaded xsds

SyntaxEditor Web Languages Add-on for Windows Forms Forum

Posted 11 years ago by NorthGates - NorthGates Systems
Version: 12.1.0311

The document I load have namespaces but they are different than my loaded XSDs.


Is there a place I can tell the control to just use the loaded xsd and completely disregard the loaded document namespace?

My XSDs do a good job with intellisence but the document must keep its original namespace..

Comments (2)

Answer - Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA

Hello, I'm sorry but the namespaces are how the XML gets linked up with related XSD elements, so they must be in sync.  Could you perhaps switch the contents of the XSD prior to load to swap in your XML file's namespace for the one in the XSD?  Then you could load the revised XSD and everything would still work properly in the XML document being edited.

Actipro Software Support

Posted 11 years ago by NorthGates - NorthGates Systems

Great, many thanks for the explaination on sync between loaded XSDs and the namespaces in the loaded documents.

I have revised my XSDs to match the opened documents manespaces and all works like a charm.

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.