xml-validation Questions

3

Solved

Currently, I'm grabbing a remote site's XML feed and saving a local copy on my server to be parsed in PHP. Problem is how do I go about adding some checks in PHP to see if the feed.xml file is va...
England asked 14/2, 2010 at 17:49

1

Solved

I am validating a SVG document (which I believe to be valid) against the SVG spec. I'm using XMLReader in PHP, and would rather stick with that as I will be using XMLReader elsewhere; that said if ...
Rendering asked 11/3, 2012 at 0:48

1

Solved

How can one validate an XML file using an XSD in Java? We don't know the schema in advance. I would like to be able to get the schemaLocation, download the XSD, cache it and then perform the actual...
Escribe asked 1/2, 2012 at 10:59

3

so right now when I validate the XML file using an XML schema, I am only able to know whether it fail or pass, and if I want to know why it fail, I need to look at the error message like [org.xml....
Oleander asked 12/12, 2011 at 14:59

2

Solved

I am validating an in-memory DOM object using the javax.xml.validation.Validator class against an XSD schema. I am getting a SAXParseException being thrown during the validation whenever there is s...
Compliant asked 10/11, 2011 at 9:33

1

Solved

I have a problem with validating my XML file, after it has been automatically formatted. The validation doesn't trim the string before validating it. Is this a bug in the implementation of the XML ...
Resonate asked 8/11, 2011 at 10:59

2

Solved

I need to validate XML Schema Instance (XSD) documents which are programmatically generated so I'm using the following Java snippet, which works fine: SchemaFactory factory = SchemaFactory.newInst...
Soilasoilage asked 30/8, 2011 at 20:21

1

Solved

test.xml: <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE email SYSTEM "test.dtd"> <email> <von>[email protected]</von> <zu>[email protected]</zu&...
Crib asked 28/3, 2011 at 6:30

2

Just wondered if its possible to ignore case with c# and xpath when searching an xml document?
Johnsson asked 30/11, 2010 at 12:34

1

Solved

I could be given either of the following xml: <?xml version="1.0" encoding="UTF-8"?> <dc:video xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:title> A vid with Pete </dc:...
Aircrew asked 30/11, 2010 at 12:5

4

Solved

I get a string variable with XML in it and have a XSD file. I have to validate the XML in the string against the XSD file and know there is more than one way (XmlDocument, XmlReader, ... ?). After...
Cottage asked 8/9, 2010 at 10:59

1

Solved

I want to test (true or false) whether an arbitrary XML file matches a given schema. For what it's worth, the schema is the Word 2003 WordML schema, which Microsoft defines using a list of about 7...
Indira asked 10/8, 2010 at 13:3

2

Solved

My C#/.NET application reads XML files that are manually edited by the users. The allowed elements and tags are described in the application's documentation. I'm using LINQ to extract data from the...
Immature asked 12/8, 2010 at 6:51

3

Solved

Here is my first attempt at validating XML with XSD. The XML file to be validated: <?xml version="1.0" encoding="utf-8" ?> <config xmlns="Schemas" xmlns:xsi="http://www.w3.org/2001/XMLSc...
Guimar asked 25/3, 2010 at 4:18

1

Solved

I'm working on an Apache CXF webservice (using JAX-WS, over SOAP). The service itself is pretty simple: receive a request, insert the request into a database, and return whether the insert was succ...
Asbury asked 3/2, 2010 at 20:3

3

Solved

I have xml files that I read in at runtime, is is possible to validate the xml against an xsd file at runtime? using c#
Alcus asked 14/8, 2009 at 12:30

© 2022 - 2024 — McMap. All rights reserved.