Project

Profile

Help

SQL extension: help with sql:column element

Added by Anonymous over 16 years ago

Legacy ID: #4620653 Legacy Poster: sascha mantscheff (smantscheff)

Using the sql saxon extension and jdbc/mysql, I can insert rows into a table using <sql:column name="html_text" select="'vier'"/> But with element content instead of the select attribute, Java throws an exception: <sql:column name="html_text">fuenf</sql:column> java.lang.NullPointerException at net.sf.saxon.expr.TypeChecker.staticTypeCheck(TypeChecker.java:75) at net.sf.saxon.sql.SQLColumn.validate(SQLColumn.java:84) at net.sf.saxon.style.StyleElement.validateSubtree(StyleElement.java:1215) at net.sf.saxon.style.StyleElement.validateChildren(StyleElement.java:1244) ... What is the difference for the TypeChecker? How would I have to modify SQLColumn to avoid this error?


Please register to reply