I believe that I've resolved the ambiguity problems evident in the previous release.

Armed with a recent Xerces, I was able to diagnose and resolve the ambiguity problems present in the previous release. At least, I was able to satisfy Xerces which has a reputation for being quite picky. The ambiguity about ambiguity still exists in the spec, so this could be wrong as well.

Remarkably, the changes necessary to remove ambiguity were not that onerous.

As a result, I think I now have XML Schemas for DocBook and Publishers. If your favorite tool balks on one of these, please let me know. Likewise, if you encounter documents that you think are valid DocBook V5.0 documents that these schemas reject, please let me know.

For the sake of completeness, I'd also be interested in documents that are not valid DocBook V5.0 documents but that these schemas accept. Note, however, that these schemas are not normative and they will not detect some valididity problems. So such documents aren't necessarily a bug.

Comments:

Be aware that Xerces-C has many bugs, and that may people cannot handle XSDs that X-C cannot process. I've run into this perhaps 3-4 times over the last year, where Trang generates XSDs that are perfectly valid but can't be handled by X-C. (XML Spy used to have this reputation, but I don't know if it's still true or not.)

Posted by John Cowan on 22 Dec 2011 @ 08:58pm UTC #

I meant Xerces-J. I've never used Xerces-C.

Posted by Norman Walsh on 22 Dec 2011 @ 10:13pm UTC #
Add a comment or subscribe to (existing and future) comments on this essay.
Name:
Email*:
 *Please provide your real email address; it will not be displayed as part of the comment.
Homepage:
Comment**:
 **The following markup may be used in the body of the comment: a, abbr, b, br, code, em, i, p, pre, strong, and var. You can also use character entities. Any other markup will be discarded, including all attributes (except href on a). Your tag soup will be sanitized...