Propertiesxml facility that allows plugins to provide

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ick on the action that returns null I get the header again. The fileUpload tag is missing the tabIndex attribute The FileUpload tag writes out an HTML <input> tag for which tabindex is a legal attribute. I don't see any restrictions when the type="file" so I think the tabIndex attribute should be added. selectPath throws exception when concat is used with element containing '&' I have tried to use the following xpath "concat('Issues ', issue/issueDescription)" for the xml: <issue> <issueDescription>Important & Urgent Issue </issueDescription> </issue> It ends with exception: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: Unexpected character encountered (lex state 3): ' ' at org.apache.xmlbeans.impl.newstore2.Path$SaxonPathImpl$SaxonPathEngine.next(Path.java:424) at org.apache.xmlbeans.impl.newstore2.Cursor._toSelection(Cursor.java:889) at org.apache.xmlbeans.impl.newstore2.Cursor._toNextSelection(Cursor.java:878) at org.apache.xmlbeans.impl.newstore2.Cursor.toNextSelection(Cursor.java:2624) at org.apache.xmlbeans.impl.newstore2.Cursor._hasNextSelection(Cursor.java:870) at org.apache.xmlbeans.impl.newstore2.Cursor.hasNextSelection(Cursor.java:2606) at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:429) at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:411) On the other hand, if there is no '&' in the 'issueDescription', then it is fine. This is due to the following line in src/store/org/apache/xmlbeans/impl/store/Path.java pos = l.load("<xml-fragment>" + value + "</xml-fragment>").tempCur(); SchemaType type = getType(node); where value = 'Important & Urgent Issue ' which is not a valid xml content. Exception in iterative dev with a Control in a page flow Repro: - Build the attached webapp ('ant build') and deploy it. - Run the page flow http://localhost:8080/repro/bar/Controller.jpf . - Edit Controller.java so that it only contains a single line:...
View Full Document

This document was uploaded on 10/12/2012.

Ask a homework question - tutors are online