Skip to content

Commit

Permalink
Release v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ikorin24 committed Jan 28, 2022
1 parent 85fc48c commit 9254d15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# U8XmlParser

[![GitHub license](https://img.shields.io/github/license/ikorin24/U8XmlParser?color=FF8821)](https://github.com/ikorin24/U8XmlParser/blob/master/LICENSE)
[![nuget](https://img.shields.io/badge/nuget-v1.3.0-FF8821)](https://www.nuget.org/packages/U8XmlParser)
[![nuget](https://img.shields.io/badge/nuget-v1.4.0-FF8821)](https://www.nuget.org/packages/U8XmlParser)
[![openupm](https://img.shields.io/npm/v/com.ikorin24.u8xmlparser?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.ikorin24.u8xmlparser/)
[![Build and Test](https://github.com/ikorin24/U8XmlParser/actions/workflows/test.yml/badge.svg)](https://github.com/ikorin24/U8XmlParser/actions/workflows/test.yml)

Expand Down Expand Up @@ -34,7 +34,7 @@ $ openupm add com.ikorin24.u8xmlparser

Or install the package from UPM by git URL.

git URL: (https://github.com/ikorin24/U8XmlParser.git?path=src/U8XmlParserUnity/Assets/Plugins#v1.3.0)
git URL: (https://github.com/ikorin24/U8XmlParser.git?path=src/U8XmlParserUnity/Assets/Plugins#v1.4.0)

#### **Unity 2019 or older**

Expand Down Expand Up @@ -74,8 +74,7 @@ $ dotnet src/U8XmlParser/U8XmlParser.csproj -c Release
// using System.IO;
// using U8Xml;
using (Stream stream = File.OpenRead("your_file.xml"))
using (XmlObject xml = XmlParser.Parse(stream))
using (XmlObject xml = XmlParser.ParseFile("your_file.xml"))
{
XmlNode root = xml.Root;
string rootName = root.Name.ToString(); // "SomeData"
Expand Down Expand Up @@ -119,8 +118,7 @@ Some xml has DTD; Document Type Declaration, and it can contain Entity Declarati
// using System.IO;
// using U8Xml;
using (Stream stream = File.OpenRead("your_file.xml"))
using (XmlObject xml = XmlParser.Parse(stream))
using (XmlObject xml = XmlParser.ParseFile("your_file.xml"))
{
RawString innerText = xml.Root.InnerText; // "<foo>"
XmlEntityTable entities = xml.EntityTable;
Expand Down
2 changes: 1 addition & 1 deletion src/U8XmlParser/U8XmlParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<RepositoryUrl>https://github.com/ikorin24/U8XmlParser.git</RepositoryUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<RepositoryType>git</RepositoryType>
<Version>1.3.0</Version>
<Version>1.4.0</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/U8XmlParserUnity/Assets/Plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.ikorin24.u8xmlparser",
"displayName": "U8XmlParser",
"version": "1.3.0",
"version": "1.4.0",
"unity": "2020.3",
"description": "Provides the fastest xml parser.",
"keywords": [ "xml", "parser", "XmlParser", "U8XmlParser" ],
Expand Down

0 comments on commit 9254d15

Please sign in to comment.