Question Regarding Autocompletion of XML Schema elements

8QW54 <[email protected]> Mon, 10 Aug 2009 15:17:54 -0700 (PDT)
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
I have just recently begun using XML Schema, and I am trying to get my head
around the whole namespace issue.  I am embarrassed to even ask this
question, but here it goes:

a namespace is comparable to a java package, correct?  in the sense that a
package is a location for a collection of classes, and two different
packages can have a class with the same name.  is this understanding
correct?  if so, then how does the netbeans XML editor perform
autocompletion by providing the correct namespace, since the namespace is
nothing more than a URI to a webpage.  What about this particular URI
informs the editor that the Schema elements, such as complexType and
simpleType an so on, exist in this namespace?

I have created a schema, and its instance, and if the schemalocation
attribute is correctly set, then the editor performs autocompletion, but in
this case, i provide a schema document, so why does the schema editor
provide autocompletion from just a URI?  Does it have to do with a template
in the editor, that is matched to this URI?

any help about this topic would be appreciated...it would go along way
toward my understanding of what a namespace really is, since I plan on
making my graduation project in the semantic web, rdf and ontologies, and i
need to understand XML and thus namespaces very well...

thank in advance

Sam
-- 
View this message in context: http://www.nabble.com/Question-Regarding-Autocompletion-of-XML-Schema-elements-tp24908539p24908539.html
Sent from the Netbeans Project UI Design and Discussion (not for user help) mailing list archive at Nabble.com.