Marc wrote:
> I try to run XXE from a batch with cmd (on Windows OS) like this :
> cmd /c "D:\Program Files\XMLmind_XML_Editor\bin\xxe.exe" 
> file:/D:/XML/FondsCourant/Base/Recueil.xml
> but I have a message from XXE about the malFormedURL with an unknow protocol 
> d:
> 
> I don't know how to write the URL to run.

In a command prompt, I've tested what follows (Windows XP SP2/Java
1.5.0_06/XXE V3.1):

---
F:\> "F:\Program Files\XMLmind_XML_Editor\bin\xxe.exe" "F:\Program
Files\XMLmind_XML_Editor\demo\docbook-table.xml"

F:\> "F:\Program Files\XMLmind_XML_Editor\bin\xxe.exe"
file:/F:/Program%20Files/XMLmind_XML_Editor/demo/docbook-table.xml

F:\> "F:\Program Files\XMLmind_XML_Editor\bin\xxe.exe"
file:///F:/Program%20Files/XMLmind_XML_Editor/demo/docbook-table.xml
---

As expected, all the above 3 forms work just fine. Therefore I suspect
that your problem comes from the arguments passed to cmd.exe. Not being
a specialist of Windows, I'm sorry not to be able to help you more.

---
PS: You could use 'call "D:\Program
Files\XMLmind_XML_Editor\bin\xxe.bat" ...' as an alternative, but may be
you'll have the same problem. I don't know.




Reply via email to