[ https://issues.apache.org/jira/browse/XALANC-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576612#action_12576612 ]
David S. commented on XALANC-667: --------------------------------- The reason that the original files didn't generate errors in my test case was due to the DOCTYPE element not being output by the Xerces DOM. IMO Vaclav hasn't given us enough information to reproduce his problem, which probably isn't due to a bug in setUseValidation. Vaclav, I've posted a C++ program to the mailing list which demonstrates the correct behaviour of setUseValidation. If you can't get it to produce validation errors then please follow up to the list. David, your patch looks good but it looks like the code for the setUseValidation calls has been expanded due to a previous bug hunt. The common code could be factored out by replacing the literal boolean arguments with the local boolean. > setUseValidation doesn't work > ----------------------------- > > Key: XALANC-667 > URL: https://issues.apache.org/jira/browse/XALANC-667 > Project: XalanC > Issue Type: Bug > Components: XalanC > Affects Versions: 1.10 > Environment: Gentoo Linux 2.6.18 kernel, Intel hardware > dev-libs/xalan-c-1.10. > Reporter: David S. > Assignee: David Bertoni > Attachments: XALANC-667.diff, xml.tar.gz > > > No validation errors or warnings are produced when setUseValidation (true) is > called before transform. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]