Posted 14 years ago by Ashwini
Version: 4.0.0283
Avatar
Hi,

Is it possible to load the schema by using the URL of where the schema is located.

I tried using the LoadSchemaFile and specify the URL Path

for ex:LoadSchemaFile("http://servername/Schema/Schema.xsd"). i got an exception that "URI format are not supported".

Could you please help me as this is very important to load a schema from a diff. location.

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Ashwini,

LoadSchemaFile only works for local file paths (e.g. C:\...). There is a LoadSchema method you can use instead where you can pass it an XmlSchema. So just create your XmlSchema object however you like from the URL and then pass that to our LoadSchema method.


Actipro Software Support

Posted 14 years ago by Ashwini
Avatar
Thank you so much for the quick response. I was able to load the schema as mentioned by you. Thank you again.
The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.