[SOLVED] xmlns:xsi and xsi:schemaLocation are valid xml ?
Posted: 02 Apr 2010 12:41
I am using the lxml 2.0 library in Ptyhon to generate gexf.
This library returns warning when declaring both attributes containing a semicolon :
Paul
This library returns warning when declaring both attributes containing a semicolon :
It's not a big deal since only a warning but it claims it not correct regarding XMl specification which I don't know./home/pom/trunk/gexf.py:33: TagNameWarning: Tag names must not contain ':', lxml 2.0 will enforce well-formed tag names as required by the XML specification.
gexfXML.set("xmlns:xsi",self.xsi)
/home/pom/trunk/gexf.py:34: TagNameWarning: Tag names must not contain ':', lxml 2.0 will enforce well-formed tag names as required by the XML specification.
gexfXML.set("xsi:schemaLocation",self.schemaLocation)
Paul