Jump to content
Changes to the Jaspersoft community edition download ×

erika.chinchio

Members
  • Posts

    28
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

erika.chinchio's Achievements

Explorer

Explorer (4/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. thks for your replay but I try to define namespace and marked "enable namespaces support" in adapter, but in jasperserver I see pdf empty, in the previuos version of jasper the same example works well thks erika
  2. this is an example, with TEST.XML (having namespace) it return empty page in jasperserver 8.1 and 8.2 (in the previus version it works well) with TEST2.XML (not having namespace) it returns correctly page with field printed in all versions I assumed there was a behavior change with respect to reading namespaced fields example: (attached xml to test) --------------------------with namespace---------------------------- <?xml version="1.0" encoding="UTF-8"?> <jasperReport ........> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="test"/> <parameter name="XML_INPUT_STREAM" class="java.io.InputStream"> <defaultValueExpression><![CDATA[new java.io.FileInputStream($P{FilePath})]]></defaultValueExpression> </parameter> <parameter name="FilePath" class="java.lang.String"> <defaultValueExpression><![CDATA["C:\TEST.XML"]]></defaultValueExpression> </parameter> <queryString language="xPath"> <![CDATA[/REPORTDATA/GRID/line]]> </queryString> <field name="NUMBER" class="java.lang.String"> <fieldDescription><![CDATA[NUMBER]]></fieldDescription> </field> <field name="DESC" class="java.lang.String"> <fieldDescription><![CDATA[DESC]]></fieldDescription> </field> <field name="DATE" class="java.lang.String"> <fieldDescription><![CDATA[DATE]]></fieldDescription> </field> <background> <band splitType="Stretch"/> </background> <detail> <band height="37" splitType="Stretch"> <textField> <reportElement x="40" y="7" width="482" height="30" uuid="f40d2e63-f14a-4f06-b65d-45ed08a0fbc5"/> <textFieldExpression><![CDATA[$F{DESC}]]></textFieldExpression> </textField> </band> </detail> </jasperReport> ------------------without namespace <?xml version="1.0" encoding="UTF-8"?> <jasperReport ........> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="test2"/> <parameter name="XML_INPUT_STREAM" class="java.io.InputStream"> <defaultValueExpression><![CDATA[new java.io.FileInputStream($P{FilePath})]]></defaultValueExpression> </parameter> <parameter name="FilePath" class="java.lang.String"> <defaultValueExpression><![CDATA["C:\TEST2.XML"]]></defaultValueExpression> </parameter> <queryString language="xPath"> <![CDATA[/REPORTDATA/GRID/line]]> </queryString> <field name="NUMBER" class="java.lang.String"> <fieldDescription><![CDATA[NUMBER]]></fieldDescription> </field> <field name="DESC" class="java.lang.String"> <fieldDescription><![CDATA[DESC]]></fieldDescription> </field> <field name="DATE" class="java.lang.String"> <fieldDescription><![CDATA[DATE]]></fieldDescription> </field> <background> <band splitType="Stretch"/> </background> <detail> <band height="37" splitType="Stretch"> <textField> <reportElement x="40" y="7" width="482" height="30" uuid="f40d2e63-f14a-4f06-b65d-45ed08a0fbc5"/> <textFieldExpression><![CDATA[$F{DESC}]]></textFieldExpression> </textField> </band> </detail> </jasperReport> thks erika
  3. this is an example, with TEST.XML (having namespace) it return empty page in jasperserver 8.1 and 8.2 (in the previus version it works well with TEST2.XML (not having namespace) it return page with field printed <?xml version="1.0" encoding="UTF-8"?> <jasperReport ........> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="test"/> <parameter name="XML_INPUT_STREAM" class="java.io.InputStream"> <defaultValueExpression><![CDATA[new java.io.FileInputStream($P{FilePath})]]></defaultValueExpression> </parameter> <parameter name="FilePath" class="java.lang.String"> <defaultValueExpression><![CDATA["C:\TEST.XML"]]></defaultValueExpression> </parameter> <queryString language="xPath"> <![CDATA[/REPORTDATA/GRID/line]]> </queryString> <field name="NUMBER" class="java.lang.String"> <fieldDescription><![CDATA[NUMBER]]></fieldDescription> </field> <field name="DESC" class="java.lang.String"> <fieldDescription><![CDATA[DESC]]></fieldDescription> </field> <field name="DATE" class="java.lang.String"> <fieldDescription><![CDATA[DATE]]></fieldDescription> </field> <background> <band splitType="Stretch"/> </background> <detail> <band height="37" splitType="Stretch"> <textField> <reportElement x="40" y="7" width="482" height="30" uuid="f40d2e63-f14a-4f06-b65d-45ed08a0fbc5"/> <textFieldExpression><![CDATA[$F{DESC}]]></textFieldExpression> </textField> </band> </detail> </jasperReport>
  4. hi thank you I finally understand my errors if I install openjdk-20.0.1 I have a warning (see as attached image) if I install openjdk--11.0.19 all works fine thks erika
  5. Hi with AdoptOpenJDK works, Installation finished successfull thks erika
  6. hi I try to install last version 8.2.0 jasper server but the installation on window fail, I install java JDK 11 and Installation finished successfully I try to install openjdk instead JDK 11 but I have same error It is mandatory install oracle JDK 11 ? thanks erika
  7. hi I install JDK 11 and the installation finally completes successfully than I try to install openjdk instead JDK 11 but I have same error It is mandatory install JDK 11? thanks erika
  8. I try to install openjdk instead JDK 11 but I have same error It is mandatory install JDK 11? thanks erika
  9. Hi when I use jav.io.InputStream to pass xml in subreport in 8.1.1 it returns empty pdf, I understand the problem is the presence of namespace in xml, I query ignoring namespace using version 8.0.2 it works perfectly, (es <queryString language="XPath"> <![CDATA[/xml/IHead/data/row]]> </queryString> (xml is like <xml > <Head > <rs:data>.......</rs:data> </Head ></xml >) Now the same value of XPath retuns no value how do i refer to node with namespace? thks erika
  10. after installing java the installation finished successfully
  11. I have the same error of https://community.jaspersoft.com/questions/1213026/problem-running-post-install-step, and it happens only with new version 8.2 thanks erika
  12. I understand the problem is namespace of xml, I don't know how can I refer a node with namespace using new version of jasper thks
  13. I have the same problem, i have disintall all 8.0.0 and try to install 8.0.2 but I didn't succeed,
  14. hi I try to install last version 8.2.0 jasper server but the installation on window fails in the last step and the folder C:Jaspersoftjasperreports-server-cp-8.2.0appsjasperserver in empty the error is Error running C:Jaspersoftjasperreports-server-cp-8.2.0/buildomatic/js-ant.bat import-minimal-ce
×
×
  • Create New...