Gary Mittleman wrote:
> 
> Do you by chance know what this error means when I run it?
> 
>  
> 
> How do I find out the line and element type?
> 
>  
> 
> Many thanks in advance.
> 
>  
> 
>  
> 
> WARNING: file:/C:/tmp/t4.xsd:6:49:Document Type Warning: missing
> simpleType|complexType "NameType" [e-props-correct.1]
> 
> WARNING: file:/C:/tmp/t4.xsd:57:72:Document Type Warning: missing
> simpleType|complexType "decimal10Type" [e-props-orrect.1]
> 
> WARNING: file:/C:/tmp/t4.xsd:79:61:Document Type Warning: missing
> simpleType|complexType "decimal9Type" [e-props-correct.1]
> 
> WARNING: file:/C:/tmp/t4.xsd:116:42:Document Type Warning: missing
> simpleType|complexType "bnType" [e-props-correct.1]
> 
> WARNING: file:/C:/tmp/t4.xsd:129:76:Document Type Warning: missing
> simpleType|complexType "decimal13Type" [e-props-correct.1]
> 

The schema t4.xsd is incomplete. But as the above errors are just
warnings, may be this is harmless.




> ERROR: file:/C:/tmp/ACTIVE2009T4.XML:2:13:Invalid Structure: element
> type not found [cvc-type.1]
> 

[:2:13: means line #2, character #13 (within the line)]

My *guess* is that:

* the schema, t4.xsd, has a target namespace (e.g. you'll find something
like targetNamespace="http://www.acme.com/ns/foo"; on its root element),

* AND your document ACTIVE2009T4.XML has a root element which does *not*
belong to this target namespace.

*Fictional* example: ACTIVE2009T4.XML starts with:
---
<bar>
---

It should start with:
---
<bar xmlns="http://www.acme.com/ns/foo";>
---



Reply via email to