Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342636 - Saving document in Vex editor loses processing instructions (xml-stylesheet)
Summary: Saving document in Vex editor loses processing instructions (xml-stylesheet)
Status: CLOSED DUPLICATE of bug 251955
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: David Williams CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-12 16:16 EDT by Eric Woodruff CLA
Modified: 2011-11-09 17:38 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.