-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cdata sections droped #34
Comments
Hum I wonder why this happens.... Can you share the url of the remote DS for testing purpose ? |
Does it works if you remove this line ? |
can't share the dynamic datasource url. made you a static snapshot: datasource: http://www.kontrast-consulting.de/test/source.xml removal of that line hat no effect |
as far as i understand the code, cdata sections are droped in this transformation because the $xsl has no cdata handling at all: https://github.com/symphonycms/remote_datasource/blob/master/data-sources/datasource.remote.php#L943 |
We might giving a try to process it with the ninja technique... with cdata-section-elements ... mmm... Will try to test it. In the mean time, I would try to inject the cdata-section-elements manually. |
cdata sections of xml datasources are not copied into the symphony page data xml. resulting in errors if cdata contains reserved xml character sequences. common use case for cdata are html fragments from WYSIWYG editors.
one solution may be the option to configure elements containing cdata and use this list in the
cdata-section-elements attribute of xsl:output.
a more radical solution could be to think if the extra xsl transformation of the datasoruce is realy nessesary. as far as i see it is only used to apply the xpath configured?
The text was updated successfully, but these errors were encountered: