Description: I have put some processing instructions in the XML files (for example <?dbhtml filename="intro.html" ?> or <?latex \pagebreak ?>). When I build the document, those processing instructions are stripped, i.e. they are no longer present in the tmp/<lang>/xml/* files. Expected result: The processing instructions should be kept.
Added call to store_pis in XmlClean::process_file. To ssh://git.fedorahosted.org/git/publican.git aa33a03..d608434 master -> master
Built from upstream source on a RHEL6.3 workstation: publican-3.0-0.el6.t226.noarch Here's the steps I took to test the fix: 1. Create a new book: publican create --name Test_Book 2. Insert processessing tags into en-US/Chapter.xml (used both the tags listed in comment #0) <title>Test Section 1</title> <para> <?dbhtml filename="intro.html" ?> This is a test paragraph in a section <?latex \pagebreak ?> </para> 3. Build publican build --formats html-single --langs en-US 4. Check the tmp/en-US/xml/Chapter.xml in an editor (gedit in my case). Processing commands are still present. <title>Test Section 1</title> <para> <?dbhtml filename="intro.html" ?> This is a test paragraph in a section <?latex \pagebreak ?> </para> --- During the build I got an unvalidated tag warning [1]. I couldn't find any tags in either en-US or tmp/xml with pi :-/ I removed the 2 processing instruction tags, cleaned and rebuilt. That error didn't appear. Any ideas if this is PEBKAC or something we should be concerned about? [1] *WARNING: Unvalidated tag: '~pi'. This tag may not be displayed correctly, may generate invalid xhtml, or may breach Section 508 Accessibility standards.
(In reply to comment #2) > [1] *WARNING: Unvalidated tag: '~pi'. This tag may not be displayed > correctly, may generate invalid xhtml, or may breach Section 508 > Accessibility standards. This is a minor issue and can be ignored. In all likelihood we will be completely removing that warning in the future anyway.