[opensuse-autoinstall] media url within CDATA tag
Hi,
does anybody know how to specify a media URL for an add_on product located at
a local dvd within a CDATA tag?
On 10.02.2012 11:34, Jochen Schaefer wrote:
does anybody know how to specify a media URL for an add_on product located at a local dvd within a CDATA tag?
media_url is a CDATA element because you have the ampersand in the URL if you use ISO files on NFS. The XMl parser will complain then if it's not in CDATA. -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net listening to: "She Is My Sin" by Nightwish -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
... But I need to put it between CDATA. What is the need for you to have a CDATA element in case you use only "valid" XML characters ?
Afaik only the following characters must be put in a CDATA field " < > $ & * @ "
@Uwe: Or to formulate it in another way: Does autoyast supports a media_url as an CDATA entry ?
Cheers
Hajo
-----Original Message-----
From: Jochen Schaefer [mailto:jschaef@novell.com]
Sent: Friday, February 10, 2012 11:34 AM
To: opensuse-autoinstall@opensuse.org
Subject: [opensuse-autoinstall] media url within CDATA tag
Hi,
does anybody know how to specify a media URL for an add_on product located at
a local dvd within a CDATA tag?
Hi,
I agree there is no need but I had the requirement from a customer who specifies it like that
for HTTP URI's and it works. In the meantime we found a syntax error within our xml class which
caused the error. Now everything seems to be working with the statement below:
Hans-Joachim Ehlers
schrieb am 2/10/2012 um 12.47 Uhr in Nachricht : ... But I need to put it between CDATA. What is the need for you to have a CDATA element in case you use only "valid" XML characters ? Afaik only the following characters must be put in a CDATA field " < > $ & * @ "
@Uwe: Or to formulate it in another way: Does autoyast supports a media_url as an CDATA entry ?
Cheers Hajo
-----Original Message----- From: Jochen Schaefer [mailto:jschaef@novell.com] Sent: Friday, February 10, 2012 11:34 AM To: opensuse-autoinstall@opensuse.org Subject: [opensuse-autoinstall] media url within CDATA tag
Hi,
does anybody know how to specify a media URL for an add_on product located at a local dvd within a CDATA tag?
![CDATA[cd:///oes11gm-dvd/x86_64/CD1]] throws an error: adding add_on product failedwhereas
cd:///oes11gm-dvd/x86_64/CD1 works. But I need to put it between CDATA.
Thanks, Jochen
-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
On 10.02.2012 12:47, Hans-Joachim Ehlers wrote:
@Uwe: Or to formulate it in another way: Does autoyast supports a media_url as an CDATA entry ?
autoyast will always put the media_url into CDATA elements when a XML file is created. For the user they are optional. They can be used and they work but they are not a must have. -- ciao, Uwe Gansert SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net listening to: "Babylon" by In Strict Confidence -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (3)
-
Hans-Joachim Ehlers
-
Jochen Schaefer
-
Uwe Gansert