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.
Steps to reproduce: 1. Open attached project 2. Open schema ean.ucc/deliver/DespatchAdvice.xsd 3. Validate it, see errors: XML validation started. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/DespatchAdvice.xsd:32,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:LineItemType' to a(n) 'type definition' component. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/DespatchAdvice.xsd:60,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:DocumentType' to a(n) 'type definition' component. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/DespatchAdvice.xsd:96,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:document' to a(n) 'element declaration' component. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/TradeItemUnit.xsd:47,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:MultiMeasurementValueType' to a(n) 'type definition' component. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/TradeItemUnit.xsd:59,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:MeasurementType' to a(n) 'type definition' component. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/TradeItemUnit.xsd:65,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:TradeItemIdentificationType' to a(n) 'type definition' component. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/TradeItemUnit.xsd:67,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:DetailLevelReferenceType' to a(n) 'type definition' component. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/TradeItemUnit.xsd:69,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:DetailLevelReferenceType' to a(n) 'type definition' component. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/TradeItemUnit.xsd:71,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:DetailLevelReferenceType' to a(n) 'type definition' component. C:/Documents and Settings/v1v/My Documents/NetBeansProjects/SchemaProject/src/ean.ucc/deliver/TradeItemUnit.xsd:73,6 ERROR: src-resolve: Cannot resolve the name 'eanucc:DetailLevelReferenceType' to a(n) 'type definition' component. 10 Error(s), 0 Warning(s). XML validation finished.
Created attachment 81625 [details] Test project
The schema XML-validates fine in 7.2 dev build, but the error you experienced seems to come from schema analysis, which is not done by 'Validate XML' action. What validation did you run ?