Re: [xml] Relative path to DTD: should it work?

On Thu, Nov 04, 2004 at 01:19:05PM -0500, Parag Chandra wrote:
<!DOCTYPE qa SYSTEM "qa.dtd">

When I try to validate this document against the DTD, libxml2 complains
with 'failed to load external entity "qa.dtd"'. If I modify the entity
path to be absolute, as in

  strange, that shoudl work.

<!DOCTYPE qa SYSTEM "c:/development/qa.dtd">

  Warning, a system identifier is an URI-Reference, not a file path !
What you pasted is likely to not work.

it works. I've tried searching in the mailing archive, and it seems like

  strange again, there is some specific Windows code trying to deal
with that filepath/URI-Reference conflict ...


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]