मान्य मैंसमय त्रुटि XML स्कीमा
<product orderid="4"/>
मैं इस तरह मेरी XSD बनाई गई एक खाली elment के लिए एक सरल स्कीमा बनाना चाहते XSD:
Error resolving component 'prodtype'. It was detected that 'prodtype' has no namespace, but components with no target namespace are not referenceable from schema document 'file:/D:/Teacher%20assistant%202011/First%20term/web%20services/test%20programs/BpelModule1/src/product.xsd'. If 'prodtype' is intended to have a namespace, perhaps a prefix needs to be provided. If it is intended that 'prodtype' has no namespace, then an 'import' without a "namespace" attribute should be added to 'file:/D:/Teacher%20assistant%202011/First%20term/web%20services/test%20programs/BpelModule1/src/product.xsd'.
btw, 'XSD: schema' अपने उपरोक्त कोड में बंद नहीं है, कि संबंधित हो सकता है? – Piskvor
नहीं, यह सिर्फ formating में त्रुटि है, इस कोड को मेरे साथ लेकिन xmlns से "टीएनएस" हटाने के बाद काम करता है: टीएनएस = "http://xml.netbeans.org/schema/first", मैं कारण अब तक समझ में नहीं आया ! – palAlaa