Skip to content

Commit

Permalink
Add validation code and test case
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed May 28, 2024
1 parent bf956d8 commit 12e8be1
Show file tree
Hide file tree
Showing 6 changed files with 2,520 additions and 16 deletions.
40 changes: 40 additions & 0 deletions tests/data/namespaces/iow/links__0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@

<?xml version='1.0' encoding='utf-8'?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://geoconnex.us/iow/homepage</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/aboutus</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/demo</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/nldi</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/nldi/demo</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/map</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/cr-demo</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/tracker</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/hyriver</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/principles</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/api-mockups</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url><url>
<loc>https://geoconnex.us/iow/guidance</loc>
<lastmod>2023-09-01T05:34:10Z</lastmod>
</url></ns0:urlset>
3 changes: 3 additions & 0 deletions tests/data/namespaces/iow/test.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
id, target, creator, description
https://geoconnexus/iow/homepage, https://internetofwater.org, [email protected], Internet Of Water homepage
https://geoconnex.us//usgs/monitoring-location/([a-zA-Z0-9_]+).*$, https://waterdata.usgs.gov/monitoring-location/$1, [email protected], USGS Monitoring Locations
Loading

0 comments on commit 12e8be1

Please sign in to comment.