This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
On the other hand, Ivan's study guide shows on page #32 -
So, it's not clear to me whether it's required to specify the schemaLocation in the import element. Actually, the w3schools page says that the four attributes (id, namespace, schemaLocation and any attributes) are optional.
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
I used the schemaLocation attribute in the example since this way I could validate an entire XML document that was supposed to adhere to the schema in Eclipse using the right-click document -> Validate option.