Questions tagged as 'xml-schema'

1
answer

Pentaho 4.8 - Importing a Schema (Cube)

I'm using Pentaho 4.8 with Saiku, and would like to know how I set up a cube (xml file created in Schema Workbench). Previously I was using Pentaho 5, it was enough for me to add Datasource and Analysis to DataSource Manager, but in Pentaho 4...
asked by 03.09.2014 / 16:20
1
answer

The ref attribute of an xml schema document element

I'm doing an xml file generator xs, but I'm not sure if some parts should be populated. <xs:element name="identificacao"> <xs:complexType> <xs:sequence> <xs:element name="modelo"></xs:element&...
asked by 27.02.2015 / 22:10
1
answer

XmlSerializer generates file with empty space before the closing tag

I'm using the following code to generate an xml: public bool SerializarObjeto(object o, string pathArquivo) { var xns = new XmlSerializerNamespaces(); XmlSerializer writer = new XmlSerializer(o.GetType()); StreamWriter file = new...
asked by 20.07.2016 / 07:23
0
answers

Can not resolve the name 'ds: SignatureType' to a 'type definition' component

In Java, when having validate an XML by XSD I'm getting the message:    Can not resolve the name 'ds: SignatureType' to a 'type definition' component. I have a REST service that receives an input XML, then validates the same with XSD and...
asked by 04.12.2018 / 11:56
0
answers

Add attribute in an xml via notation

I have the following structure in java package xxxxx.entities; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import jav...
asked by 07.11.2018 / 17:57
0
answers

What is the purpose of xml: base

Good afternoon, I'm programming an xml and I'm still very new to this programming, and one of the tags I found looking at some examples was: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/1...
asked by 31.08.2018 / 20:45
0
answers

Plugin to open Schema (Design) Xsd using NetBeans in a version greater than 6.7

I wonder if there is a plugin for Netbeans that opens the design of an Xsd file. I know that for Netbeans version 6.7 there is a plugin that when installed shows Schema, however I need to use version 8.2 of NetBeans.     
asked by 24.04.2018 / 16:16
0
answers

Format date (type sql date) with javascript without changing type

Pick a date field of type date yyyy-MM-dd (sql) use a javascript function directly in the XML file to show this date in dd-MM-yyyy format without changing the type, remaining Date. Is it possible?     
asked by 19.01.2018 / 18:05
0
answers

Create Parameter in XML (Get id by URL through XML parameter)

I have an XML-SCHEMA cube (sql query) in an XML file which is the file type to open in the Pentaho workbench. I would like to know if you have to pass a parameter in XML so when this file is in the web it picks the id of the URL by the parameter...
asked by 16.01.2018 / 21:23
1
answer

How to add the XML encoding tag

Adding the XML encoding clause <?xml version="1.0" encoding="UTF-8"?> When you generate the XML through FOR XML PATH as the following example: SQL query: WITH XMLNAMESPACES (DEFAULT 'http:\www.oobj.com.br') select '1.0...
asked by 12.01.2018 / 18:49