DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8228>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8228 DOM006 for processing instruction Summary: DOM006 for processing instruction Product: Xerces2-J Version: 2.0.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am attempting to construct a DOM with an stylesheet and receiving a DOM006 error: Document doc = db.newDocument(); doc.appendChild( doc.createProcessingInstruction( "xml-stylesheet", "href=\"" + stylesheet + "\" type=\"text/xsl\"" ) ); doc.appendChild( doc.createElement( ReportTags.ROOT ) ); The second statement causes the DOM006 and I don't see why. If the second and third statements are reversed, there is no error but the instruction generally has no effect when it comes after the document... This could be user error but this doesn't seem consistent to me, nor in line with what I understand as valid XML. Please help! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
