mirror of
				https://gitlab.gnome.org/GNOME/libxml2.git
				synced 2025-10-30 10:45:36 +03:00 
			
		
		
		
	* Makefile.am: add the testchar to 'make check' * xmlschemas.c: Volker Grabsch pointed out a typo * xmlregexp.c: production [19] from XML Schemas regexps were a mistake removed in version REC-xmlschema-2-20041028, Volker Grabsch provided a patch to remove it * test/schemas/regexp-char-ref_0.xml test/schemas/regexp-char-ref_0.xsd test/schemas/regexp-char-ref_1.xsd result/schemas/regexp-char-ref_0_0 result/schemas/regexp-char-ref_1_0: Volker Grabsch also provided regession tests for this Daniel svn path=/trunk/; revision=3776
		
			
				
	
	
		
			21 lines
		
	
	
		
			636 B
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			636 B
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0"?>
 | |
| <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
 | |
| 
 | |
|     <xs:element name="test">
 | |
|         <xs:complexType>
 | |
|             <xs:attribute name="test1" type="myType"/>
 | |
|             <xs:attribute name="test2" type="myType"/>
 | |
|             <xs:attribute name="test3" type="myType"/>
 | |
|             <xs:attribute name="test4" type="myType"/>
 | |
|             <xs:attribute name="test5" type="myType"/>
 | |
|         </xs:complexType>
 | |
|     </xs:element>
 | |
| 
 | |
|     <xs:simpleType name="myType">
 | |
|         <xs:restriction base="xs:string">
 | |
|             <xs:pattern value="[56;&#]"/>
 | |
|         </xs:restriction>
 | |
|     </xs:simpleType>
 | |
| 
 | |
| </xs:schema>
 |