Hi,

On 10 Sep 2004, at 9:40, Christian Kölbl wrote:

Hi,

I try to validate a XML-file against a given .xsd schema saved on my harddisk. The schema is definitly loaded but when I try to parse the XML - file wiht validating it against the schema, there are always two sorts of error messages:

1. while validating the personal.xml against the personal-schema.xml from Xerces:
"Non-whitespace characters are not allowed in schema elements other than 'appinfo'
and 'documentation'
I don´t understand anything. What does this mean? What do I have to do against?



This sounds like there is an error in your schema. Does the error message include line numbers? If it does take a look in the schema.




2. the parser does not know my root-element:
    "unknown element '*root*' line:.. column:..."

This may be caused by the above problem. Lets sort that out first and then see if this goes away.




Please help me, or I have to bite into my table

Thanx
Chris

--
there are 10 sorts of programmers
 those who understand binary and those who don´t

_________________________________________________________
Mit WEB.DE FreePhone? mit hochster Qualitat ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--
Gareth Reakes, Managing Director      Parthenon Computing
+44-1865-811184                  http://www.parthcomp.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to