Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (54 sloc) 1.56 KB
<?xml version="1.0" ?>
<!--
Bookstore using XML Schema (Bookstore.xsd.xml)
% xmllint 2-noout Bookstore3.xml
%
% xmllint 2-noout -schema Bookstore3.xsd.xml Bookstore3.xml
%
Notice / try changes:
Price is integer (search 'Price')
Make it not an integer
Key declarations (search 'key ')
Change JU to HG
Change second ISBN to HG
References (search 'keyref')
Change first authIdent JU to foo
Change first authIdent JU to JW
Change BookRef to JW
Occurrence constraints (search 'occurs', default=1)
Change to 0 authors
Change to 2 remarks
-->
<Bookstore>
<Book ISBN="ISBN-0-13-713526-2" Price="100">
<Title>A First Course in Database Systems</Title>
<Authors>
<Auth authIdent="JU" />
<Auth authIdent="JW" />
</Authors>
</Book>
<Book ISBN="ISBN-0-13-815504-6" Price="85">
<Title>Database Systems: The Complete Book</Title>
<Authors>
<Auth authIdent="HG" />
<Auth authIdent="JU" />
<Auth authIdent="JW" />
</Authors>
<Remark>
Amazon.com says: Buy this book bundled with
<BookRef book="ISBN-0-13-713526-2" /> - a great deal!
</Remark>
</Book>
<Author Ident="HG">
<First_Name>Hector</First_Name>
<Last_Name>Garcia-Molina</Last_Name>
</Author>
<Author Ident="JU">
<First_Name>Jeffrey</First_Name>
<Last_Name>Ullman</Last_Name>
</Author>
<Author Ident="JW">
<First_Name>Jennifer</First_Name>
<Last_Name>Widom</Last_Name>
</Author>
</Bookstore>