[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Multiple schemata in memory
- From: "Andreas Tscharner" <andreas tscharner metromec ch>
- To: "Buchcik, Kasimier" <k buchcik 4commerce de>
- Cc: xml gnome org
- Subject: Re: [xml] Multiple schemata in memory
- Date: Thu, 22 Jun 2006 17:18:17 +0200
> > Now my problem: A.xsd, B.xsd and C.xsd are all in memory in
> > different places. I am able to "load" A.xsd using
xmlSchemaNewMemParserCtxt, but
> > as it does not know about B.xsd and C.xsd I got the error code 1845:
> > XML_SCHEMAV_CVC_ELT_1.
>
> The error message would be even more interesting.
Sorry, my fault. I had the wrong schema file in the memory. With the
correct file xmlSchemaParse returns NULL (I suppose it's because it
cannot find the referenced (imported) schema file)...
[snip]
> Subsequent XML Schema documents are located using the
> @schemaLocation of an import/include in Libxml2. You could
I have to use the Pascal bindings and I am not sure if I can realize
this. Maybe I can try to modify the "schemasImports" pointer in the
xmlSchema struct?
Best regards
Andreas
--
Andreas Tscharner andreas tscharner metromec ch
------------------------------------------------------------------------
And the beast shall come forth surrounded by a roiling cloud of
vengeance. The house of the unbelievers shall be razed and they shall be
scorched to the earth. Their tags shall blink until the end of days.
-- The Book of Mozilla 12:10
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]