Bugs item #1064896, was opened at 2004-11-11 16:53 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1064896&group_id=16035
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: xml scheama documentation bug Initial Comment: This url: http://www.dom4j.org/faq.html#how-validate talks about using xml scheama validation, but does'nt tell you that you need to use this code for xml scheama validation: reader.setFeature("http://apache.org/xml/features/validation/schema", true); Atleast, thats what I used for it, with xerces. In general it seemed way to hard to get xml scheama validation working. I had to figure out what libraries to use, and figure out that wierd command above, and then what special xml incanation to use to get the scheama to be loaded. Also the error you get if you don't have that magic line above is quite un-helpful: org.dom4j.DocumentException: Error on line 3 of document : Document is invalid: no grammar found. Nested exception: Document is invalid: no grammar found. If you have a place for a mini tutorial contact me and I'll gladly contribute. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1064896&group_id=16035 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev