  | |  | Xerces | if it 's available in 2.01 you might want to try and use an
org.xml.sax.EntityResolver
instead of http //apache.org/xml/properties/schema/external-schemaLocation
we have a common xsd that other xsd 'Xerces Community/Developers
I 've been successful in integrating the Xerces (2.01) DOMParser with Java
code in order to perform parsing of wellformedness and validation to XSDs.
My code is setup in tHi-
I am running data through the SAX parser that looks like the following
<?WGXPPrightHandPageStart pagePrefix "Page 1- " ?? >
<?page type 'recto ' seq '025000 ' lev '||||| ' fol '1 '?? >
<publication >
Hi all
Does anybody know if it is possible to introspect an XSD document thanks to the ASModel object in dom level 3 ?
Example
Complex type definition
<xsd complexType name "hciSURVEY_SETUP_THi all
I work for a company that does an asset metadata integration from different content management systems. We currently have an extensible schema where one can add/remove metadata fields in the s Hi
I 've been working around this issue for a while. Some
programmers from Jetspeed and Cocoon suggested the actual
problem lies with xerces and should be committed there.
There are a couple of fixes
Is there any way to validate a single complex element?
I am using a preparser to validate (and store as a grammer) an xml schema
document. I registered an error handler but for some reason when I plant an
error (I tried a well-formedness error) an exceptiHi
I 'm reading xml file and parsing thru '
apache Xerces(xerces-1_4_3) DOMParser.
I serialize the xml and I want to save into the file.
my xml
<?xml version "1.0 " encoding "ISO-8859-1 "? >
<Root >
I need a minimal example similar to SimpleTransform
provided with Xalan.
However I want to explicitly load the xsl file and
input XML myself from a file using Xerces make a few
changes to the DOM Hi everyone
I need some help on a Xerces SAX issue.
If a mandatory field (mandatory as defined by the schema) is empty and the
full empty tax syntax is used Xerces calls startElement before throwiI have a document with structure similar to the xml below. When I use
Xerces 1.4.4 I am able to validate the document against the schema without
any problems. When I use Xerces 2.3.0 the validation
Hi there
I am looking at removing ignorable whitespace from documents parsed
(through the XNI XMLDocumentHandler) with XML Schema validation. I first
tried it with the ignorableWhitespace callback Hello Xerces users
I 'm quite new in using Xerces and I 've got one question How can I access the PSVI infos for other elements than the root element. I tried the example in the FAQ (accessing PSVI vI have had a brief scan of the mail archive and not come across anything
like this but that said I am not sure of exactly where this problem bight
be coming from.
Here is what I have
1. Some data
I 'm having trouble finding books that describe features like xsd substitutionGroups and xsd extensions and xsd attributeGroup.
Is this because these are features of XML 2.0?
Assuming the answer i
Currently using 2.2.1 and trying out 2.3.0.
When I was validating a SOAP envelope using Xerces 2.3.0 it complained
with the following
Error URI file ///c /workarea/schemas.xmlsoap.org.xsd Line Hi
I got an OutOfMemoryError when I parsed a document of about 5MB in size
despite the fact that I increased the maximum heap size of JVM to 512MB. I
suspect that the problem arose due to the very lHi
Can I use xerces to parser DTD only?
What kind of data structure it will build?
I would like to do stuff like this
1. given an ElementName can that ElementName has a child named
"aChildName "?
You 're right I read the samples and had a look at the Xalan API. I was wrong because I thought that it was possible to execute
X-Path requests directly from a node in Xerces and I didn 't think about
Does any one know of away to validate a complex type element?
On Thursday 02/20/2003 at 09 02 CET Nicolas.GOLOUBENKO@(protected) wrote
> You mean that the Xalan API can be used outside any XSL stylesheet to
browse
> nodes inside an XML tree
Yes. This has bee
You mean that the Xalan API can be used outside any XSL stylesheet to browse nodes inside an XML tree or to update nodes
values/nodes attributes inside an XML tree ? I thought that Xalan was only an
Using Xerces 2.2.1 why is it that this one validates correctly against
the SOAP 1.1 schema
( Schema definition available at
http //schemas.xmlsoap.org/soap/envelope/ )
<?xml version "1.0 "? >
<env
Nicolas.GOLOUBENKO@(protected) wrote
>I didn 't find anything in Xerces that allows you to write complex X-Path requests in the DOM API.
>
I said Xalan ... not Xerces.
For me getting elements via
Thank you. I 'll have a look at these APIs.
Joseph
Kesselman Pour xerces-j-user@(protected)
<keshlam@(protected) cc
>I didn 't find anything in Xerces that allows you to write complex
>X-Path requests in the DOM API.
This is being standardized as part of DOM Level 3. I believe current
versions of Xerces have a prHi since the xerces mailing list archives appear to be down I 'm
submitting my question here. Forgive me if it has been asked a thousand
times before -)
I 'm very confused as to how relative URI 's arfor xalan xpath see
org.apache.xpath.XPathAPI
org.apache.xpath.CachedXPathAPI
-----Original Message-----
From Nicolas.GOLOUBENKO@(protected) [mailto Nicolas.GOLOUBENKO@(protected)]
Sent Wednesday FeIf you don 't want to use the grammar that 's in the pool simply return null
from getGrammar. The parser will then call the entity resolver and get the
schema.
Or if you want to be more efficient you |
|
 |