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/4/2006 11:48:00 PM
Remember, inclusion in XML is semantic, NOT string based.
Your external entity doesn't define a default namespace, nor does it use
prefixes bound to a namespace. Ergo, its elements are NOT in any
namespace. Ergo, they are NOT the same as the ones in the namespace.
That's exactly what the error message is telling you:
> Element 'FeatureValueSet': This element is not expected. Expected is
> ( {http://lodl.ldc.upenn.edu/ParadigmDefn.xsd}FeatureValueSet ).
> TestSuite/bug.Defn.xml fails to validate
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.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
