TEIC / Roma-Antiqua

This repository houses the code for Roma Antiqua, the web based TEI software for generating customisations.
https://romaantiqua.tei-c.org
20 stars 7 forks source link

Processing of <valList> #16

Open peterstadler opened 8 years ago

peterstadler commented 8 years ago

relocating from https://github.com/TEIC/TEI/issues/845


As per http://listserv.brown.edu/archives/cgi-bin/wa?A2=ind1003&L=TEI-L&T=0&O=D&P=162 and http://listserv.brown.edu/archives/cgi-bin/wa?A2=ind1003&L=TEI-L&D=0&O=D&T=0&P=288 Roma exits with a fatal error when processing an ODD where contains unexpected text nodes (i.e., whitespace) instead of just s.

Possible solutions might involve the use of getElementsByTagName('valItem') or if ($oChild->nodeName=='valItem') { ... }