mirror of
				https://gitlab.gnome.org/GNOME/libxslt
				synced 2025-11-04 00:53:12 +03:00 
			
		
		
		
	fixed bug #68751 added a specific example in the regression tests Daniel
* libxslt/templates.c: fixed bug #68751 * tests/docs/Makefile.am tests/docs/bug-68.xml tests/general/Makefile.am tests/general/bug-68.*: added a specific example in the regression tests Daniel
This commit is contained in:
		@@ -1,3 +1,10 @@
 | 
				
			|||||||
 | 
					Tue Jan 15 12:00:18 CET 2002 Daniel Veillard <daniel@veillard.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* libxslt/templates.c: fixed bug #68751
 | 
				
			||||||
 | 
						* tests/docs/Makefile.am tests/docs/bug-68.xml
 | 
				
			||||||
 | 
						  tests/general/Makefile.am tests/general/bug-68.*: added a 
 | 
				
			||||||
 | 
						  specific example in the regression tests
 | 
				
			||||||
 | 
						
 | 
				
			||||||
Tue Jan 15 10:40:41 CET 2002 Daniel Veillard <daniel@veillard.com>
 | 
					Tue Jan 15 10:40:41 CET 2002 Daniel Veillard <daniel@veillard.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* libxslt/transform.c xsltproc/xsltproc.c: fixed a couple of
 | 
						* libxslt/transform.c xsltproc/xsltproc.c: fixed a couple of
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -217,6 +217,9 @@ xsltAttrTemplateValueProcess(xsltTransformContextPtr ctxt, const xmlChar *str) {
 | 
				
			|||||||
    xmlChar *expr, *val;
 | 
					    xmlChar *expr, *val;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (str == NULL) return(NULL);
 | 
					    if (str == NULL) return(NULL);
 | 
				
			||||||
 | 
					    if (*str == 0)
 | 
				
			||||||
 | 
						return(xmlStrndup("", 0));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    cur = str;
 | 
					    cur = str;
 | 
				
			||||||
    while (*cur != 0) {
 | 
					    while (*cur != 0) {
 | 
				
			||||||
	if (*cur == '{') {
 | 
						if (*cur == '{') {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -68,6 +68,7 @@ EXTRA_DIST =	\
 | 
				
			|||||||
	bug-64.xml \
 | 
						bug-64.xml \
 | 
				
			||||||
	bug-65.xml \
 | 
						bug-65.xml \
 | 
				
			||||||
	bug-66.xml \
 | 
						bug-66.xml \
 | 
				
			||||||
 | 
						bug-68.xml \
 | 
				
			||||||
	character.xml \
 | 
						character.xml \
 | 
				
			||||||
	array.xml \
 | 
						array.xml \
 | 
				
			||||||
	items.xml
 | 
						items.xml
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								tests/docs/bug-68.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/docs/bug-68.xml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					<doc/>
 | 
				
			||||||
@@ -71,6 +71,7 @@ EXTRA_DIST = \
 | 
				
			|||||||
    bug-64.out bug-64.xsl \
 | 
					    bug-64.out bug-64.xsl \
 | 
				
			||||||
    bug-65.ent bug-65.out bug-65.xsl \
 | 
					    bug-65.ent bug-65.out bug-65.xsl \
 | 
				
			||||||
    bug-66.out bug-66.xsl \
 | 
					    bug-66.out bug-66.xsl \
 | 
				
			||||||
 | 
					    bug-68.out bug-68.xsl \
 | 
				
			||||||
    character.out character.xsl \
 | 
					    character.out character.xsl \
 | 
				
			||||||
    character2.out character2.xsl \
 | 
					    character2.out character2.xsl \
 | 
				
			||||||
    itemschoose.out itemschoose.xsl \
 | 
					    itemschoose.out itemschoose.xsl \
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								tests/general/bug-68.out
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tests/general/bug-68.out
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					<IMG a="">
 | 
				
			||||||
							
								
								
									
										8
									
								
								tests/general/bug-68.xsl
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								tests/general/bug-68.xsl
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0"?>
 | 
				
			||||||
 | 
					<xsl:stylesheet version="1.0"
 | 
				
			||||||
 | 
					xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 | 
				
			||||||
 | 
					<xsl:output method="html" indent="yes" omit-xml-declaration="yes"/>
 | 
				
			||||||
 | 
					<xsl:template match="/">
 | 
				
			||||||
 | 
					<IMG a=""/>
 | 
				
			||||||
 | 
					</xsl:template>
 | 
				
			||||||
 | 
					</xsl:stylesheet>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user