Hi,
I'm having a couple of problems with
getting import statements to function (the
schema I'm trying to generate source for has xml:lang attributes).
If I do this:
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
elementFormDefault="qualified">
<xs:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.or
g/2001/xml.xsd"/>
The source generator just ignores
the fact that the schema location is a URL and
appends the working dir to it, and then (unsurprisingly) can't find anything; looking at
ImportUnmarshaller this appears to be built in.
So I downloaded xml.xsd and its associated
baggage and changed the import tag
accordingly; now it appears that one of these bits of baggage (XmlSchema.dtd
datatypes.dtd) is being validated by castor, which doesn't like them:
"The parameter entity reference
"%t;|%comp;" must end with the ';' delimiter"
Has anyone managed to use xml: lang
or somesuch with the source generator, and if
so what am I doing wrong?
Thanks
Owen --
Owen Green
Software Developer, Unique Interactive
50 Lisson St, London, NW1 5DF
[EMAIL PROTECTED]
http://www.uniqueinteractive.co.uk
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
