OASIS Darwin Information Typing Architecture (DITA) TC

 View Only

Re: [dita] XSD Generation Ready To Test

  • 1.  Re: [dita] XSD Generation Ready To Test

    Posted 11-05-2014 23:25
    Eric S. reported an error reported by Xerces-c parsers against the XSDs. I've corrected that error and provisioned the xerces-c parser locally in order to both reproduce the original failure and verify that I've corrected it in the latest XSDs in SVN. I'm working to see what I can do to integrate this parser into my test suite. It's a slight challenge because, being a C++-based tool, it required platform-specific binaries. Also, it doesn't come out of the box with a command-line command that just does validation, although I could work with some of one of the sample applications that just reports one line of data when the file validates. Cheers, E. ————— Eliot Kimber, Owner Contrext, LLC http://contrext.com On 11/4/14, 11:06 PM, "Eliot Kimber" <ekimber@contrext.com> wrote: >I believe I have finally cracked the XSD generation nut. All my validation >tests pass. > >I modified the generation process to produce the 1.2 names. I think that's >the best solution: it's the simplest, it maintains consistency with the >past, and it avoids having extra files that people would have to deal >with. > >The only content model that I know I couldn't reflect exactly in the XSD >is the topicref constraint for learningGroupMap and learningObjectMap: >this constraint disallows <topicref> and limits elements from mapGroup to >just keydef, mapref, and topicgroup. > >Unfortunately, without some serious and disruptive refactoring of the XSD >map module, there is no way in XSD 1.0 to redefine the "topicref" group so >that it does not allow <topicref>. > >I think that's a pretty minor variance from the normative grammar. > >If you care about the XSDs, please inspect and test them. > >Cheers, > >E. > >————— >Eliot Kimber, Owner >Contrext, LLC > http://contrext.com > > > > >--------------------------------------------------------------------- >To unsubscribe from this mail list, you must leave the OASIS TC that >generates this mail. Follow this link to all your TCs in OASIS at: > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php > >