abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Franson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ABDERA-302) PrettyWriter not serializing processing instruction
Date Fri, 27 Jul 2012 21:23:33 GMT
Scott Franson created ABDERA-302:
------------------------------------

             Summary: PrettyWriter not serializing processing instruction
                 Key: ABDERA-302
                 URL: https://issues.apache.org/jira/browse/ABDERA-302
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 1.1.2
            Reporter: Scott Franson


With a FOMService as the base, PrettyWriter will serialize the charset and XML version of
the parent FOMDocument but will not serialize the processing instruction (xml-stylesheet)
before starting the 'service' element. It appears that org.apache.abdera.parser.stax.util.PrettyWriter.writeTo(Base,
Writer, WriterOptions) is explicit in this behavior. I note that the default writer (FOMWriter)
will serialize the processing instruction as it starts the serialization from the FOMDocument
itself.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message