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: | Unable to use local XSD schema for XML validation | ||
---|---|---|---|
Product: | xml | Reporter: | mdeggersbeans <mdeggersbeans> |
Component: | Schema | Assignee: | Svata Dedic <sdedic> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | jglick, mmirilovic, pjiricka, swpalmer |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mdeggersbeans
2010-09-02 00:38:59 UTC
*** Bug 191271 has been marked as a duplicate of this bug. *** Sounds like the only possible workaround is to just create an empty file and specify the schema manually, by copy-pasting, right? Requesting a waiver for NetBeans 7.0. Waiver approved. Requesting a waiver for NetBeans 7.0.1. Is there any particular reason this is expected to be difficult or dangerous to fix? I don't think so - this is simply the issue of the lack of expertise/resources. Waiver approved. * namespaces of schemas added to the catalog show up in the 'by namespace' browser * those schemas, if used, will not produce schemaLocation entry in the XML document The validation actually did not use user catalog at all; this seems to be fixed. Code completion also improved for schemas served from the user catalog a bit since the configured schemas are recognized as schemas, not as random resolved resources. The rest is probably an enhancement request - the current XML Catalog support needs to be streamlined to be usable. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/c41d09b68a5b User: Svata Dedic <sdedic@netbeans.org> Log: #190087: schema-constrained XML wizard shows namespaces of schemas added to XML catalog by the user. Validation uses XML schema catalog to resolve NS URIs. |