Yes, please .. ;-). For the benefit of everybody else, please do so ... ;-).
Werner Stephen Winnall wrote: > I've found a solution to this problem. It's not pretty, but it seems to > work. If anyone is interested in the details, I'll > post the two schemas. > > Steve > > On 7 May 2006, at 18:16, Stephen Winnall wrote: > >> When you have documents which contain multiple namespaces, is there a >> way to define XML Schemas so that Castor can handle those documents? I >> want to be able to read documents like the following: >> >> <?xml version="1.0"?> >> <!DOCTYPE rdf:RDF PUBLIC "-//DUBLIN CORE//DCMES DTD 2002/07/31//EN" >> >> "http://dublincore.org/documents/2002/07/31/dcmes-xml/dcmes-xml-dtd.dtd"> >> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" >> xmlns:dc="http://purl.org/dc/elements/1.1/"> >> <rdf:Description >> rdf:about="http://www.ilrt.bristol.ac.uk/people/cmdjb/"> >> <dc:title>Dave Beckett's Home Page</dc:title> >> <dc:creator>Dave Beckett</dc:creator> >> <dc:publisher>ILRT, University of Bristol</dc:publisher> >> <dc:date>2002-07-31</dc:date> >> </rdf:Description> >> </rdf:RDF> >> >> Yup, it's Dublin Core again ;-) Clearly two schemas are needed, one >> for the RDF (rdf:) and one for the DC (dc:) namespace. The schemas >> from the Dublin Core website for handling this stuff work perfectly in >> Oxygen when I compose example files, but since they make extensive use >> of substitution groups, the Castor source generator cannot handle them. >> >> I've spent some time trying to produce Castor-friendly schemas >> equivalent to the official ones, but I don't seem to be getting >> anywhere. This is due on the one hand to my limited knowledge of XML >> Schema, but I am beginning to wonder whether there is a way to do this >> with Castor. >> >> Can anyone give me some guidance on this, please? >> >> Steve >> >> >> ------------------------------------------------- >> If you wish to unsubscribe from this list, pleasesend an empty message >> to the following address: >> >> [EMAIL PROTECTED] >> ------------------------------------------------- >> > > > ------------------------------------------------- > If you wish to unsubscribe from this list, pleasesend an empty message > to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- > > ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

