Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342636

Summary: Saving document in Vex editor loses processing instructions (xml-stylesheet)
Product: z_Archived Reporter: Eric Woodruff <eric.woodruff>
Component: MylynAssignee: Project Inbox <wtp.inc.vex-inbox>
Status: CLOSED DUPLICATE QA Contact: David Williams <david_williams>
Severity: normal    
Priority: P3 CC: florian
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Eric Woodruff CLA 2011-04-12 16:16:01 EDT
Build Identifier: 20110301-1815

  Vex XML Editor (Incubating)	1.0.0.201104091611	org.eclipse.wst.xml.vex.feature.feature.group

When I add an xml-stylesheet processing instruction to a document:

<?xml version='1.0'?>
<?xml-stylesheet href="../../schema/usecase.css" type="text/css"?>
<!DOCTYPE usecases PUBLIC "-//LSI//UseCase 1.0//EN" "../../schema/usecase.dtd">

and then open, modify and save the document using Vex, the xml-stylesheet instruction disappears:

<?xml version='1.0'?>
<!DOCTYPE usecases PUBLIC "-//LSI//UseCase 1.0//EN" "../../schema/usecase.dtd">

Reproducible: Always

Steps to Reproduce:
1. add the processing instruction to the top of an xml document
2. open the document in vex
3. modify the document
4. save the document
5. open the document in a text or xml editor
6. view the missing PI
Comment 1 Florian Thienel CLA 2011-04-17 05:04:05 EDT
Duplicate of 251955

*** This bug has been marked as a duplicate of bug 251955 ***
Comment 2 Florian Thienel CLA 2011-06-02 05:09:02 EDT
Closing resolved bugs.
Comment 3 Florian Thienel CLA 2011-11-09 17:38:06 EST
Moved to Mylyn Docs Vex.