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.
Summary: | Space in name bug (no protocol from validation) | ||
---|---|---|---|
Product: | xml | Reporter: | Martin Schovanek <mschovanek> |
Component: | Code | Assignee: | Milan Kuchtiak <mkuchtiak> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | ckutler, pkeegan |
Priority: | P2 | Keywords: | RELNOTE, SPACE_IN_PATH |
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Martin Schovanek
2003-04-03 11:50:03 UTC
Proposed release note: "If the name of an XML document contains a space, code completion and the Validate XML command do not work." 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 [1]. 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 4850066. 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 it. Thanks. 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. v Is there any reason to keep the RELNOTE keyword here? Might people be using a bad version of Xerces? |