Wrong XMLSchema validation?

Bug #1909761 reported by Marco Colombo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
New
Undecided
Unassigned

Bug Description

Please see attached example.
Expected result would be all True.

Python : sys.version_info(major=3, minor=9, micro=1, releaselevel='final', serial=0)
lxml.etree : (4, 5, 1, 0)
libxml used : (2, 9, 10)
libxml compiled : (2, 9, 10)
libxslt used : (1, 1, 34)
libxslt compiled : (1, 1, 34)

This is real world case, simpleType is extracted from https://www.agenziaentrate.gov.it/portale/documents/20143/2370834/Schema_VFPR12.xsd

According to validation with lxml, <email address hidden> is not valid. xmlschema disagrees. I'm not sure which is which, my brain goes parse error reading the regular expression...

Revision history for this message
Marco Colombo (themule71) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.