[Nb Build 200304012350, jdk1.4.1_02]
Validate XML and Code Completion fail in case the
XML document name includes space.
Steps to reproduce:
1) create XML and DTD document like:
=== 'do c.xml':
<!DOCTYPE root SYSTEM "dtd.dtd">
<!ELEMENT root EMPTY>
2) validate the 'do c.xml' document.
Warning appears in output window:
Checking file:/space/.../do c.xml
Warning: Cannot resolve "<missing public ID>" to
URL, using "dtd.dtd"...
no protocol: dtd.dtd 
XML validation finished.
Proposed release note:
"If the name of an XML document contains a space, code completion and the Validate XML command do not
Anything else I should mention?
The proposed text is sufficient, I agree with it.
It's a bug <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18803>
in underlaying Xerces parser.
The problem also appears if path to document grammar (either DTD or XSD) contains
space. See issue 32938.
*** Issue 32938 has been marked as a duplicate of this issue. ***
updated release note
It comes from XMLEntityManager which fails to properly expand system
ID that contains spaces.
I checked recent Xerces 2.4.0 and found that the bug was eliminated
for DTD constrained documents. For XMLSchema constrained ones it
reports Invalid URI <theURI> at . So it looks that the fix cannot
be easily backported.
So with Xerces 2.4.0 there's an extra error message appended to
checker output if it checks XML schema based documents. Any user
errors are properly reported.
The extra message is confusing for valid user documents.
URI vs. URL handling discrepances are tracked in java bugparade under
Xerces 2.4.0 in now available under libs/xerces project.
See also issue 36998, the same problem exists for transformations too.
*** Issue 36998 has been marked as a duplicate of this issue. ***
It's in relnotes there is FAQ but it needs to be fixed too.
Milane, can you please take care of this bug? Either fix it, or waive
On windows-2000 validation and code-completion works normally.
Fixed by another fix :
See : <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18803>
I reopened the issue 32938 and issue 36998.
Those issues are related more to XML schema.
Is there any reason to keep the RELNOTE keyword here? Might people be
using a bad version of Xerces?