Mark Fletcher wrote:
>> However, if your topic already has warnings and errors reported by the
>> DTD or schema (e.g. your topic has a missing or invalid id attribute),
>> then the CheckHrefs validateHook will *not* report any warning.
> 
>> Rationale: Do not add benign warnings to possibly severe errors. Let
> the
>> user first fix the validity errors,
> 
> Thanks, that explains part of the problem. I had an invalid "???" id
> reported. These never cause us any problems, so we don't bother to fix
> the ids unless the file is a source for a conref or has a subtopic href
> target. I'm not sure I agree with the rationale, but I understand it.
> 
> However, the IdCollector does not collect empty hrefs, even though
> CheckHrefs does try to report an href with a length of 0. Is this
> intentional?

No. This is clearly an omission. We'll fix that for next release.



> I think it'd be important to identify links with an empty
> href attribute. 
> 


 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to