This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
XML documents with private DTD declarations (SYSTEM) pointing to relative paths will not validate from a CVS Mounted File System. The error message is always that the DTD file cannot be found. After some poking around, I discovered that regardless of where in the CVS Mount the XML document exists, the "working directory" of the validation process seems to be the FFJ installation directory. To Reproduce: 1. Mount a CVS directory 2. Somewhere a single folder on the tree place a XML document and a DTD 3. Ensure that the DOCTYPE for the XML document reads DOCTYPE rootelement SYSTEM "dtdfile.dtd" (A relative path to the DTD) 4. Right Click on the XML document and choose validate. 5. Error message should show that the DTD file was not found. This seems to work fine when this is not in a CVS tree or you provide a fullly qualified URL to a PUBLIC DOCTYPE declaration. Note: When looking for a relative DTD, forte is looking relative to the runide.exe executable, not to the XML document itself.
Assigned to tools sub-module where Validate action is implemented.
I tested it in latest 26/Apr/2002 NetBeans builds and it works well. In Forte 3.0 you can workaround it by assigning public IDs to your DTDs and register those public IDs in entity catalog. Then you reference your DTD using the public ID.
VERIFIED
Resolved for 3.4.x or earlier, no new info since then -> closing.