Hi,

The problem is that i have a DTD file that it's ok, work fine with
xmllint validation program. but my implementation with DTD Validation
don't work with mono. I decide to work with XSD validation schema and
work fine for me. Now i can validate a xml  against XSD schema file
very well with mono.

Your XML file is invalid.

Try this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE activityfile SYSTEM "activities.dtd"[]>
<activityfile>
  <plan id="1">
...
</activityfile>

Now the 2 ways...  (1) how i can generate a valid XSD schema file from
Xml (not manual) or (2) how i can validate a Xml using valid DTD file?

No, there is only one way: stick with the technology you're
familiar with :-)

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to