<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body dir="auto">
<div>That file reference is wrong. I'll fix it. <br>
<br>
Sent from my iPhone</div>
<div><br>
On Nov 24, 2013, at 3:45 PM, "David Cramer" <<a href="mailto:david.cramer@RACKSPACE.COM">david.cramer@RACKSPACE.COM</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:11pt; color:black">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:11pt; color:black">I'll post a schema you can use tonight or tomorrow.<br>
<br>
Typed wtih thmubs.<br>
<br>
<span style="color:black">-----Original Message----- <br>
<b>From:</b> Andreas Jaeger [<a href="mailto:aj@suse.com">aj@suse.com</a>]<br>
<b>Received:</b> Sunday, 24 Nov 2013, 3:41pm<br>
<b>To:</b> <a href="mailto:openstack-docs@lists.openstack.org">openstack-docs@lists.openstack.org</a> [<a href="mailto:openstack-docs@lists.openstack.org">openstack-docs@lists.openstack.org</a>]<br>
<b>Subject:</b> [Openstack-docs] Validating docbook with wadl:resource ?<br>
<br>
</span></span></div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">If I validate file api-ref-orchestration.xml from<br>
api-site/api-ref/src/docbkx with:<br>
<br>
$xmllint --xinclude --noout --noent --relaxng<br>
"<a href="http://docbook.org/xml/5.1CR1/rng/docbookxi.rng">http://docbook.org/xml/5.1CR1/rng/docbookxi.rng</a>" api-ref-orchestration.xml<br>
<br>
It errors with:<br>
api-ref-orchestration.xml:22: element info: Relax-NG validity error :<br>
Element book has extra content: info<br>
api-ref-orchestration.xml:21: element book: Relax-NG validity error :<br>
Did not expect element book there<br>
api-ref-orchestration.xml:21: element book: Relax-NG validity error :<br>
Expecting element section, got book<br>
api-ref-orchestration.xml:21: element book: Relax-NG validity error :<br>
Expecting element audiodata, got book<br>
api-ref-orchestration.xml:21: element book: Relax-NG validity error :<br>
Expecting element example, got book<br>
api-ref-orchestration.xml fails to validate<br>
<br>
If I uncomment these lines, the file validates:<br>
<wadl:resources<br>
href="../wadls/orchestration-api/src/v1/orchestration-api.wadl"<br>
xmlns:wadl="<a href="http://wadl.dev.java.net/2009/02"/">http://wadl.dev.java.net/2009/02"/</a>><br>
<br>
What's the proper way to validate the xml file?<br>
<br>
Andreas<br>
-- <br>
Andreas Jaeger aj@{<a href="http://suse.com">suse.com</a>,<a href="http://opensuse.org">opensuse.org</a>} Twitter/Identica: jaegerandi<br>
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany<br>
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)<br>
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126<br>
<br>
_______________________________________________<br>
Openstack-docs mailing list<br>
<a href="mailto:Openstack-docs@lists.openstack.org">Openstack-docs@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs</a><br>
</div>
</span></font></div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Openstack-docs mailing list</span><br>
<span><a href="mailto:Openstack-docs@lists.openstack.org">Openstack-docs@lists.openstack.org</a></span><br>
<span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs</a></span><br>
</div>
</blockquote>
</body>
</html>