xmlparser: read XML-File changes Attribute-Value

2024-02-06 Thread Araq
Good point.

xmlparser: read XML-File changes Attribute-Value

2024-02-06 Thread Kemifl
I don't think it does. According to the spec an attribute value is CDATA by default, which means all internal white space should be normalized to a single space character, not removed. `xmllint` preserves both spaces: $ echo 'my inner text' >test.xml $ xmllint test.xml

xmlparser: read XML-File changes Attribute-Value

2024-02-05 Thread beckx
Good morning, thx for your time and answers! Good to know, the mistake sit's not in front of my monitor in this case... Seems i am using the xml-modules correct :) I will now contact the "producer" of the big xml-files to clarify this topic. Thx and have a nice day Beckx

xmlparser: read XML-File changes Attribute-Value

2024-02-05 Thread Araq
Pretty sure it preserves the whitespace that the XML spec requires us to do and when you use XML, you're better off adhering to its spec. Even better is to use a data format not designed by bureaucrats.

xmlparser: read XML-File changes Attribute-Value

2024-02-05 Thread janAkali
std/xmlparser doesn't seem to preserve whitespace. Maybe try lowlevel std/parsexml or one of these:

xmlparser: read XML-File changes Attribute-Value

2024-02-05 Thread janAkali
https://dvteclipse.com/documentation/svlinter/How_to_use_special_characters_in_XML.3F.html

xmlparser: read XML-File changes Attribute-Value

2024-02-05 Thread beckx
Hello together, i have a problem with parsing a xml-file and perhaps someone know's my fault and has time to answer. hint: the xml-file-content is just as smal for demonstration my problem. I have a xml-file with the following content: my inner text Run If i read in