my dog learned polymorphism
The moose likes Product and Other Certifications and the fly likes Attributes of import element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "Attributes of import element" Watch "Attributes of import element" New topic

Attributes of import element

Milo Tan

Joined: Feb 08, 2002
Posts: 3
I read in chapter 8 of Professional Schema that for the <xsd:import) element the schemaLocation attribute is optional and the namespace attribute is required. Can this be right?
Because this is what I found in the XML Schema specification in w3c.
"NOTE: Since both the namespace and schemaLocation [attribute] are optional, a bare <import/> information item is allowed. This simply allows unqualified reference to foreign components with no target namespace without giving any hints as to where to find them."
The statement seems to say both attributes are optional.
Any help on this would be greatly appreciated.
I agree. Here's the link:
subject: Attributes of import element
It's not a secret anymore!