Environment: Windows XP Professional SP2
Program version: 1.0.6.2
If I open an XML file and associate a DTD to it that
has spaces in the path, such as:
C:/Documents and Settings/matt/Desktop/mydtdfile.dtd
and I try to validate the XML against the DTD (the
validation should be successful), I get this error:
"Validation failed: no DTD found !"
However, placing the DTD in the following path:
C:/QA/XML/mydtdfile.dtd
validation is successful.
- Associate a DTD to an XML file and ensure the path to
the DTD has spaces in it.
- Validate a valid XML file against it; it should fail.
My guess is that it's an issue with the spaces, but I
could be wrong. That's all I really have to go on.
Logged In: YES
user_id=1298822
I think libxml2 is right to reject spaces in URLs, but the
'Associate DTD/XML Schema' functions up to 1.0.6.2 were
wrong to insert URLs with spaces. They now insert %20s instead.