Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: include file problem: namespaces? >Thread Next - Re: include file problem: namespaces? Re: include file problem: namespaces?To: NULL Date: 5/5/2006 8:44:00 AM
> Remember, inclusion in XML is semantic, NOT string based.
That definitely seems to be what's happening, but it's not what I
expected from statements like
You can specify an entity that has text defined external to
the document by using the SYSTEM keyword...
In this case, the XML processor will parse the content of
that file as if its content had been typed at the location
of the entity reference.
(--http://www.javacommerce.com/displaypage.jsp?name=entities.sql&id=18238)
> You provided a <FeatureValueSet>; it expected a
> <FeatureValueSet xmlns="http://lodl.ldc.upenn.edu/ParadigmDefn.xsd">, or
> <foo:FeatureValueSet
> xmlns:foo="http://lodl.ldc.upenn.edu/ParadigmDefn.xsd">, or something
> equivalent.
>
> Fix your external entity.
In the actual file (not the cut down one that I posted here), there is
a long series of these entities
<FeatureValueSet>foo</FeatureValueSet>
<FeatureValueSet>bar</FeatureValueSet>
<FeatureValueSet>baz</FeatureValueSet>
etc., and I want to splice that *sequence* in at several points. I can
put in the xmlns in each one of these entites, but is there a way in
this external file of specifying the xmlns once, rather than repeatedly?
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
