The first exercise consists of creating a root schema with target namespace
"http://www.eclipse.org/xsd/examples/po". With the help of Part 1, create a schema document using the XML Schema Infoset Model APIs that
represents the following:
<?xml version="1.0"?>
<schema targetNamespace="http://www.eclipse.org/xsd/examples/po"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:po="http://www.eclipse.org/xsd/examples/po"/>
Hint: You will need to use
org.eclipse.xsd.XSDFactory.eINSTANCE to create the schema constructs.
New constructs created in this exercise:
- <schema> - root schema
with targetNamespace="http://www.eclipse.org/xsd/examples/po"
Solution: Exercise 1 solution