You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2012/10/05 18:02:03 UTC
[jira] [Created] (CXF-4546) @XMLInstruction
Glen Mazza created CXF-4546:
-------------------------------
Summary: @XMLInstruction
Key: CXF-4546
URL: https://issues.apache.org/jira/browse/CXF-4546
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 2.6.2
Reporter: Glen Mazza
Priority: Minor
org.apache.cxf.jaxrs.ext.xml.XMLInstruction doesn't seem to handle stray white space particularly well:
@XMLInstruction("<?xml-stylesheet type='text/xsl' href='foobar.xsl'?>")
works fine (outputs as <?xml-stylesheet type='text/xsl' href='http://localhost:9998/foobar.xsl'?>), but:
@XMLInstruction("<?xml-stylesheet type='text/xsl' href='foobar.xsl' ?>")
(w/stray space between ending apostrophe and ending ?)
outputs as:
<?xml-stylesheet type='text/xsl' href='http://localhost:9998/foobar.xsl''?>
(erroneous double apostrophe at the very end).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CXF-4546) @XMLInstruction
Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13470423#comment-13470423 ]
Glen Mazza commented on CXF-4546:
---------------------------------
Also consider providing an ability to suppress expansion of the href attribute, i.e., not adding the http://xxx part.
> @XMLInstruction
> ---------------
>
> Key: CXF-4546
> URL: https://issues.apache.org/jira/browse/CXF-4546
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.6.2
> Reporter: Glen Mazza
> Priority: Minor
>
> org.apache.cxf.jaxrs.ext.xml.XMLInstruction doesn't seem to handle stray white space particularly well:
> @XMLInstruction("<?xml-stylesheet type='text/xsl' href='foobar.xsl'?>")
> works fine (outputs as <?xml-stylesheet type='text/xsl' href='http://localhost:9998/foobar.xsl'?>), but:
> @XMLInstruction("<?xml-stylesheet type='text/xsl' href='foobar.xsl' ?>")
> (w/stray space between ending apostrophe and ending ?)
> outputs as:
> <?xml-stylesheet type='text/xsl' href='http://localhost:9998/foobar.xsl''?>
> (erroneous double apostrophe at the very end).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CXF-4546) @XMLInstruction
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-4546.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.7.1
2.6.4
Assignee: Sergey Beryozkin
> @XMLInstruction
> ---------------
>
> Key: CXF-4546
> URL: https://issues.apache.org/jira/browse/CXF-4546
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.6.2
> Reporter: Glen Mazza
> Assignee: Sergey Beryozkin
> Priority: Minor
> Fix For: 2.6.4, 2.7.1
>
>
> org.apache.cxf.jaxrs.ext.xml.XMLInstruction doesn't seem to handle stray white space particularly well:
> @XMLInstruction("<?xml-stylesheet type='text/xsl' href='foobar.xsl'?>")
> works fine (outputs as <?xml-stylesheet type='text/xsl' href='http://localhost:9998/foobar.xsl'?>), but:
> @XMLInstruction("<?xml-stylesheet type='text/xsl' href='foobar.xsl' ?>")
> (w/stray space between ending apostrophe and ending ?)
> outputs as:
> <?xml-stylesheet type='text/xsl' href='http://localhost:9998/foobar.xsl''?>
> (erroneous double apostrophe at the very end).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CXF-4546) @XMLInstruction
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507454#comment-13507454 ]
Sergey Beryozkin commented on CXF-4546:
---------------------------------------
Will deal with the parsing issue
> @XMLInstruction
> ---------------
>
> Key: CXF-4546
> URL: https://issues.apache.org/jira/browse/CXF-4546
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.6.2
> Reporter: Glen Mazza
> Priority: Minor
>
> org.apache.cxf.jaxrs.ext.xml.XMLInstruction doesn't seem to handle stray white space particularly well:
> @XMLInstruction("<?xml-stylesheet type='text/xsl' href='foobar.xsl'?>")
> works fine (outputs as <?xml-stylesheet type='text/xsl' href='http://localhost:9998/foobar.xsl'?>), but:
> @XMLInstruction("<?xml-stylesheet type='text/xsl' href='foobar.xsl' ?>")
> (w/stray space between ending apostrophe and ending ?)
> outputs as:
> <?xml-stylesheet type='text/xsl' href='http://localhost:9998/foobar.xsl''?>
> (erroneous double apostrophe at the very end).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira