Explorar o código

XML examples: workaround a libroxml bug

The current version of libroxml (2.1.2) contains a bug
in the attribute handling and files to properly handle
attributes whose values are single-quoted. We work
around this issue by using double quotes.
Emmanuel Deloget %!s(int64=12) %!d(string=hai) anos
pai
achega
7bbee91688
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      xml-examples/klish/etc/clish-xml/types.xml

+ 1 - 1
xml-examples/klish/etc/clish-xml/types.xml

@@ -51,7 +51,7 @@
 		help="A.B.C.D[/mask] or any"/>
 	<!--=======================================================-->
 	<PTYPE name="PORT_MASK_ANY"
-		pattern='^(([0-9]+(/0x[0-9a-f]+)?)|(any))$'
+		pattern="^(([0-9]+(/0x[0-9a-f]+)?)|(any))$"
 		help="Port[/mask]" />
 	<!--=======================================================-->
 	<PTYPE name="SEQ"