Questions tagged [xml-1.1]

26 questions
31
votes
4 answers

Should I learn XML 1.0 or XML 1.1?

I know that a well-formed XML 1.1 is not necessarily a well-formed XML 1.0 and vice-versa. I want to learn xml formally and i was wondering whether i should learn XML 1.0 or XML 1.1? I mean would it be more effective to learn XML 1.0 or would it be…
Pacerier
  • 86,231
  • 106
  • 366
  • 634
27
votes
2 answers

Does .Net 4.5 support XML 1.1 yet (for characters invalid in XML 1.0)?

This is in the context of Web Services (client end). I need to interface with a back-end system (Java) and it is a requirement to transmit some control characters in the  and  range. I'm well aware that XML 1.0 doesn't support this, but am…
RichardTheKiwi
  • 105,798
  • 26
  • 196
  • 262
21
votes
3 answers

What XML version to use?

I have an online shop where vendors can upload and import there articles in two formats. plain text (tab delimted) XML Currently I'm using XML 1.0. However I see there is also a version 1.1 At wikipedia it is stated that for most uses 1.0 will be…
PeeHaa
  • 71,436
  • 58
  • 190
  • 262
5
votes
2 answers

How can I parse XML that confirms to the 1.1 spec using Java and Xerces?

I'm trying to parse a String which contains XML content which conforms to the XML 1.1 spec. The XML contains character references which are not allowed in the XML 1.0 spec but which are allowed in the XML 1.1 spec (character references which…
Jim Hurne
  • 7,187
  • 4
  • 44
  • 44
5
votes
2 answers

XML version 1.1 not accepted by browsers?

I have a program that produces rather vanilla XML documents. The first line of such generated documents is IE8 and Firefox both object to this, by complaining "Wrong version" and explicitly pointing to the "1.1" part. If I…
Ira Baxter
  • 93,541
  • 22
  • 172
  • 341
4
votes
1 answer

Dataset - Unable to read XML 1.1?

Is this correct? I have changed to version of XML from 1.0 to 1.1 that my DS reads and I now get an error saying it cannot read this version. Is there anyway around this? The reason I'm doing this is for v1.1's ability to account for such things as…
Darren Young
  • 10,972
  • 36
  • 91
  • 150
4
votes
1 answer

java standard lib produce wrong xml 1.1

I found this interesting problem last week. Run the program below. It's very simple, first create a dummy xml file, and read it with standard lib and write it back to a file. Look through the generated gtest2.xml, you will see that it has some…
joe
  • 63
  • 1
  • 8
4
votes
1 answer

java sax parser mangles attributes for xml 1.1

I'm using java's sax classes to parse an xml file. If the xml file says version 1.0, everything works fine, but if it says version 1.1, then some of the attributes get mangled, giving me the wrong results but not throwing any kind of exception. My…
Penfold
  • 599
  • 4
  • 8
3
votes
0 answers

Configure spring to use xml version 1.1 for webservice

Im trying to configure Spring to use xml version 1.1 for my webservice. After the client has connected to the wsdl I need the submitted xml message to be encoded using xml version 1.1 and not 1.0 as i need to allow more characters to be…
Matthew
  • 55
  • 3
  • 10
3
votes
3 answers

Using XML 1.1 in Axis2

I have a web service and client that are passing around strings containing character references such as  (0x1A). These are invalid in XML 1.0 but valid in XML 1.1. Axis's XML parser is throwing exceptions because of these character…
Adam Crume
  • 15,614
  • 8
  • 46
  • 50
3
votes
4 answers

XSL: Include some ASCII control chars when method="text"

I've got an XSL template that outputs text as opposed to XML. In this text, I need to include ASCII character 0x10 in certain position. I understand this character is not allowed in an XML document, but I'm going to output text, so why am I not…
GSerg
  • 76,472
  • 17
  • 159
  • 346
2
votes
1 answer

Configuring CXF web service client to read XML 1.1 responses

I'm using CXF to generate an interface to a .NET web service client. However, sometimes when I use the client, I get an error: WARNING: Interceptor for…
billjamesdev
  • 14,554
  • 6
  • 53
  • 76
2
votes
2 answers

C# XMLTextWriter - XML 1.1

I am working with a large XML file that deals with localization of strings in C#. I did not write the program that produces the XML, but I have access to the source and I want to modify it, as it currently outputs 1.0 as the version, but it contains…
Mgamerz
  • 2,872
  • 2
  • 27
  • 48
2
votes
2 answers

XML New Version - New Features

Is there a new version of XML out? If so when was it released and what are the new features?
Goober
  • 13,146
  • 50
  • 126
  • 195
1
vote
2 answers

What is the specification of XML?

Where can I find the specification of XML? W3C document is just a recommendation? https://www.oracle.com/technical-resources/articles/srivastava-namespaces.html But here's a twist: although the W3C Namespaces in XML Recommendation declares that the…
Hiroaki Machida
  • 1,060
  • 2
  • 12
  • 23
1
2