Samples JDK
package-info.java
1 /**
2  * \brief xsd:anyType can contain any payload. Schema validation check samples.
3  *
4  * <p>With elementFormDefault="qualified" on po.xsd the elements are qualified and they belong to default namespace.</p>
5  * <h3>Test1</h3>
6  * <ul>
7  * <li>new.xsd defines a new type that will be carried over po.xsd. new.xsd tries to use the old 'purchase2' namespace.</li>
8  * <li>This new type should be under 'element' element as specified by po.xsd</li>
9  * <li>po1.xml does not define it under 'element' element and hence first test fails.</li>
10  * </ul>
11  * <h3>Test2</h3>
12  * <ul>
13  * <li>po2.xml defines new element under 'element'.</li>
14  * <li>And test case succeeds.</li>
15  * </ul>
16  *
17  *
18  */
19 package com.freemindcafe.xml.xsd.sample3;