Code Monkey home page Code Monkey logo

superxml's People

Contributors

beto-rodriguez avatar stilbu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

superxml's Issues

Exception on Xml compilation

I'm getting the exception "Invalid name character in 'xmlns:xsi'. The ':' character, hexadecimal value 0x3A, cannot be included in a name." while compiling the xml template with following tag

<ApplicationParameter xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance""
xsi:noNamespaceSchemaLocation=""cdc_c4c.xsd"" />

Please take it this priority and provide a solution.

Support Int64 arguments in Filters

Hi,

In my XML I need to use very large integers. I noticed that you parse a number first as Int32 and then as Single. Because single looses precision that I would like to keep it would be nice if you could try to parse a number as Int64 first.

greetz
Jonny007

Please be friendly with xml namespace definination

I use the superxml to generate the Webservice Xml Request. But when translate the namespace and the elements with prefix, the dll throw exceptions. I have to modify the code, method _readxml() and run() to write it correctly. I have attached what I modify in Compiler.cs
Compiler.txt
Please to fit the namespace situation like this:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<soap:Header>
<wsa:Action>http://htng.org/PWS/2008B/SingleGuestItinerary#ReservationLookup</wsa:Action>
<wsa:MessageID>urn:uuid:{{m.MsgId}}</wsa:MessageID>
...

Escaping < and > characters in String Templates

Greetings,
first of all, Good Job, I've been having a lot of fun with this project, really useful.

Is there a way to escape the greater than and less than characters?
I'm currently using a search and replace after I compile it, but it's there's a more elegant way in the template itself... better.

Thanks

Net6 support

Hi,

Do you plan on updating it to dotnet6?
I'm using this package a lot and now it says it's deprecated.

Thanks! :)

PS: If not, can you recommend an alternative?

Cannot parse CDATA format

When I embed CDATA tag in xml, cannot complier the correct xml data.

<body><![CDATA[some text]]></body>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.