Error Checking Type Of The Expression Xslt
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss error checking type of the expression 'funcall(current-datetime )' the workings and policies of this site About Us Learn more
Error Checking Type Of The Expression 'funcall(format-date
about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow
Error Checking Type Of The Expression 'funcall(current-datetime, [])'.
Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping
Error Checking Type Of The Expression 'funcall Tokenize
each other. Join them; it only takes a minute: Sign up xslt remove part of attribute up vote 0 down vote favorite 1 Is it possible to transform an attribute from "book1chapter2" into "chapter2" ? For example this node: Should be transform into I tried:
RepublicDenmarkEcuadorEgyptEstoniaFinlandFranceGermanyGreeceGuatemalaHondurasHong KongHungaryIndiaIndonesiaIraqIrelandIsraelItalyJapanJordanKazakhstanKoreaKuwaitLaosLatviaLebanonLithuaniaMalaysiaMaldivesMaltaMexicoMoldovaNepalNetherlandsNew ZealandNicaraguaNorwayOmanPakistanPanamaParaguayPeruPhilippinesPolandPortugalPuerto RicoQatarRomaniaRussiaSaudi ArabiaSerbia & MontenegroSingaporeSlovakiaSloveniaSouth AfricaSpainSri LankaSwedenSwitzerland -- FrenchSwitzerland -- GermanTaiwanThailandTurkeyUkraineUnited Arab EmiratesUnited KingdomUnited StatesUruguayVenezuelaVietnamYemen Communities Social Applications Oracle Mix Oracle Blogs xslt 2.0 example Oracle Wiki Oracle on Facebook Oracle on Twitter net sf saxon transformerfactoryimpl Networks Oracle ACEs Oracle PartnerNetwork Oracle Technology Network Knowledge Base Oracle xsl convert string to date User Groups Oracle Discussion Forums Support My Oracle Support Community I am a... Java Developer Database Admins and Developers http://stackoverflow.com/questions/15155572/xslt-remove-part-of-attribute System Admins and Developers Architect C-Level Executives Chief Financial Officer (CFO) Chief Information Officer (CIO) Other Roles Analyst Investor Job Seeker Partner PeopleSoft Customer Siebel Customer Sun Customer Student Midsize Company I want to... Support Create or Update http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6409233 Service Request Search Support Knowledge Database Download Patches Education Find Oracle University Training Choose an Oracle Certification Path Partner Find a Partner Solution Access Software and Technical Support Attend a Partner-Only Event Attend Training Download Logos Manage Solutions Catalog Other Tasks Purchase Oracle Products Online Browse Oracle Documentation Search Oracle Documentation Check Oracle Earnings Check Oracle Price Lists Download Oracle Software Find an Oracle ACE View Oracle Benchmarks Filters: All Bugs.java.com Blogs Corporate Site Discussion Forums Documentation Training PartnerNetwork Technology Network Products and Services Products Oracle Database Enterprise Manager Oracle Fusion Middleware Oracle Applications Server and Storage Systems Development Tools Oracle On Demand Oracle CRM On Demand Products A-Z List Solutions Java Busi
... )'.'Agile Board ExportXMLWordPrintable Details Type: Bug Status: Closed Priority: P2 Resolution: Not an Issue Affects Version/s: 5.0 Fix Version/s: 6 Component/s: xml Labels: JAXP funcall xsltc Subcomponent: javax.xml.transform https://bugs.openjdk.java.net/browse/JDK-6409233 CPU: generic OS: generic Description Routinely hitting errors of the following form where the types should be compatible, but xsltc is claiming they aren't. ERROR: 'Error checking type of the http://www.biglist.com/lists/xsl-list/archives/200507/msg00311.html expression 'funcall(matches, [literal-expr(aba), literal-expr(a)])'.' FATAL ERROR: 'Could not compile stylesheet' javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619) Activity All Comments Work Log History Activity Ascending order - Click error checking to sort in descending order Hide Permalink Jeff Suttor (Inactive) added a comment - 2006-04-18 13:01 BT2:EVALUATION as a test case is provided, this CR is being accepted for evaluation. note that any fix may need to be applied to both Mustang & JAXP 1.3.x repositories. Show Jeff Suttor (Inactive) added a comment - 2006-04-18 13:01 BT2:EVALUATION as a test error checking type case is provided, this CR is being accepted for evaluation. note that any fix may need to be applied to both Mustang & JAXP 1.3.x repositories. Hide Permalink Santiago Pericasgeertsen added a comment - 2006-04-18 14:01 BT2:EVALUATION XSLTC is reporting a type error because the function 'matches' is undefined. This function is not an XPath 1.0 function, so the stylesheet cannot be compiled. I do not see any problem with this behavior: there is not way the processor can evaluate an expression with an undefined function in it. Show Santiago Pericasgeertsen added a comment - 2006-04-18 14:01 BT2:EVALUATION XSLTC is reporting a type error because the function 'matches' is undefined. This function is not an XPath 1.0 function, so the stylesheet cannot be compiled. I do not see any problem with this behavior: there is not way the processor can evaluate an expression with an undefined function in it. Hide Permalink Santiago Pericasgeertsen added a comment - 2006-04-21 13:43 BT2:WORK AROUND In order to execute this stylesheet with an XSLT 1.0 processor like XSLTC, the XPath 2.0 function
+0100 I have no trouble passing variables (initialized as strings using select="expression") as $variable into some XSLT functions (e.g. translate() ), but functions seem to throw a typing error (e.g. escape-uri(), and replace() ). I am using Java5 parsers etc: a typical xslt call is