this schema of the
form:
Error - src-resolve: Cannot resolve the name 'unknownX' to a(n) 'type
definition' component.
Where X is one of: 1, 2, 3;
Bob Foster
Henry S. Thompson wrote:
> I'll answer a simple question which I understand, and which I _think_
>
ssertion on xml-dev
that XML Schema had pretty much put conformance problems behind it. Is
this a spec to which it is impossible to conform in a performant way (or
entirely in any way)?
Bob Foster
-
To unsubscribe, e-mail: [EMAIL
lidate a schema as it parses one, subject to the parameters you
specify. Full validation is one of the options. In my experience, Xerces
does a good job, even compared to the ever-in-flux XSV.
Bob Foster
-
To unsubscribe, e-mail: [
r and XSLT Editor/Debugger
http://www.oxygenxml.com
Bob Foster wrote:
What features do you need to set in StandardParserConfiguration so that:
a) A DTD is read for entity declarations, and
b) An XML Schema is used for validations.
I have a customer who wants to do, e.g.,
...
Take out the DOCTYP
against the DTD. Need to find a happy middle ground. Thanks.
Bob Foster
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Of course. I was being dumb. Since I thought you were trying to avoid
calling intern() I didn't even see it.
But I also don't see that a lot of storage is saved. You still have the
intern table. I guess, compared to what?
Bob
Michael Glavassevich wrote:
I do mean == (this also implies equals())
] for
all n < length1.
I think you described equals() not ==, yes?
Bob Foster
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
your intern method, like an
integer. IIRC Saxon does something like this internally. So there's even
an open source implementation.
But the API would need to allow returning non-Objects to let you do
this. A long should do it.
Bob Foster
--
I'm really missing something here. What do you do when addSymbol is
called with the same char argument as before?
Bob Foster
http://xmlbuddy.com/
Michael Glavassevich wrote:
String.intern() always returns a unique string object, so you could
override addSymbol like this:
public S
xpand on your suggestion?
Bob Foster
http://xmlbuddy.com/
Michael Glavassevich wrote:
You could extend the SymbolTable class and then replace the default by
setting the http://apache.org/xml/properties/internal/symbol-table
property with your own SymbolTable. The parser components assume that
sy
ng on the way out.
Then Java will use whatever is set as the platform encoding, e.g., win1250.
What normal text editors do with a UTF-8 file is really outside the
scope here. You have to use a competent editor.
Bob Foster
Jakub Kahovec wrote:
I've been experimenting a bit with serializing a
platform you're running on.
Bob Foster
Kahovec, Jakub wrote:
It produdes Xerces 2.6.2 (LSParser, LSSerializer and XMLSerializer).
I've been using xerces parser and serializer in my java authoring
tool to load and save documents. I've found out the problem with
encoding when I loa
each character had eight bits.
Tell us a little more about what steps you took to see what you describe
and maybe someone will be able to help.
Bob Foster
Jakub Kahovec wrote:
Hi,
when I parse the xml document (with xerces 2.6.2) which has in xml
declaration specified utf-8 encoding and
same
whether a character is encoded as a UTF-8 sequence or a character reference.
Bob Foster
-- fas
F. Andy Seidl, Co-founder
MyST Technology Partners
http://myst-technology.com | http://blogsite.com
-Original Message-
From: Jakub Kahovec [mailto:[EMAIL PROTECTED]
Sent: Monday
Michael Glavassevich wrote:
Am I missing something here? If the document has no DOCTYPE declaration
there's no DTD to load.
Maybe my assumption was wrong. I assumed he specified it in his code.
But you're right, it isn't in the code he showed.
Bob
Sounds like a bug to me. If the cache is installed, Xerces should use it
for every DTD/schema access.
Bob Foster
Ritu Raj Tiwari wrote:
Now, DTD caching seems to work fine for documents that
have a DOCTYPE declaration. But for documents where no
such declaration is present, stepping through the
This isn't what you asked about, but the first schemaLocation (on
element) isn't legal. You left out the namespace.
Bob Foster
Thropp, Shawn wrote:
I am trying to determine if the following is legal. I have been
searching the W3C recommendations and can't determine i
The xml declaration is not a processing instruction. The Oracle parser
is wrong.
Bob Foster
Jason wrote:
Hi Alistair,
I'm not sure why you can't parse the xml. I've looked
at this a bit more and it seems that the Oracle parser
is reporting the xml delcaration as a Processing
I
I have trouble believing you got that error message from this XML:
blah>blah<blah
How about showing us the XML that has the DOCTYPE declaration? ;-}
Bob Foster
IndianAtTech wrote:
Hi All,
What does this error means??
I can't see any problem with my xml file
here is my xml
SELEC
3.1: "An attribute name MUST NOT appear more than once in the same
start-tag or empty-element tag."
Bob Foster
Frank Zhou wrote:
Hi, all,
Not sure if this is the place to ask this, but I would
like to know if it is valid for an XML element to have
duplicate attributes.
Thanks in adva
See Elliote Rusty Harold's book, Processing XML with Java,
(http://www.cafeconleche.org/books/xmljava/) for approachable examples.
Bob Foster
Sivan Green wrote:
Hi List!
My name is Sivan Green, I am doing a project which mandates the usage of
Xerces as the XML DOM parser that I should use
a StringReader.
Bob Foster
Curtiss Howard wrote:
By "converting the DOM into a String" I assume you mean the schema
DOM? If so, I believe that yes, you must serialize the DOM into a
String. Actually, to be more specific, you have to serialize the DOM
into a String and THEN create an Input
in the document must be relative to
the document, per your last example. Does that work? Trying that will at
least produce an error message that differentiates between not being
able to find the schema and not finding the element decl in the schema.
Bob Foster
[EMAIL PROTECTED] wrote:
Hi,
M
If you're running in Windows (or even if you're not) the second "first"
schema cache is faster because all directories have been resolved and
most of the files are probably in memory. I see this effect everywhere I
process a number of files more than once.
Bob Foster
Huw R
n the net.
Wouldn't work otherwise.
I'm wondering if, initially, my pool is
missing a grammar and on the first parse it's actually caching the grammar
I've missed.
Sounds likely. You can set a breakpoint in retrieveGrammar() to see if
you get called for a schema you aren't
Accumulate characters in a StringBuffer until you get an endElement.
Bob Foster
Ranjith Kodikara wrote:
Hi,
Thanks for the reply. Is there any easy way of handling this? or If you
know a place where I can get some examples, please let me know.
Thanks,
Ranjith
- Original Message -
From
Seems like it would be a lot simpler to stop using query strings in your
jar URIs.
Bob Foster
Cory Prowse wrote:
Yup this refers to Xerces because of the internal implementation of URI
(org.apache.xerces.util.URI).
Basically it doesn't handle jar URI's which are in the form of:
ja
Why what? I can deal with top-quoting, but no-quoting is a challenge. ;-}
Bob Foster
Joseph Kesselman wrote:
If we're using the Java URI support, I believe the jar: scheme is supported
by that layer. If we're doing our own URI support... why?
__
Joe
e asker to EntityResolver wasn't meant to insult your
knowledge.
My wording was "I'm not aware"; if, despite my unawareness, a jar:
scheme really is supported, then my apologies for muddling the issue.
Cheers,
Eric
Bob Foster wrote:
I know about EntityResolver, thanks. What makes
I know about EntityResolver, thanks. What makes you think a jar: URI
isn't a resolvable URI? I guess the answer to my question is no.
Bob Foster
Eric J. Schwarzenbach wrote:
I've never used the external-schemaLocation (or
external-noNamespaceSchemaLocation) property, so maybe I
(in this case, appended). AFAICT, you
should have wound up with a URI of:
jar:embeddedzipfile:file:/home/cprowse/repository.dtd
The result you claim is surprising, but your example is suspicious. How
did 'repository.dtd' become 'repository.xml'? Why did you cast base to U
Did you try the obvious?
parser.setProperty(
"http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation";,
url.toString() );
Bob Foster
Michael MacFadden wrote:
Hi,
You are correct, I should be using the noNamespaceSchemaLocation. I
switched to that
to the
location of a schema document with no targetNamespace [attribute]."
Left unsaid is the fact that lists in XML are whitespace-separated.
Bob
Radhakrishnan J wrote:
Any answers to my questions in POST#6 in this thread ??
Thanks,
Radhakrishnan
-Original Message-
From: Bob Foster
that you will need to resort to an EntityResolver. See Curtiss Howard's
post in the "Re: Problems setting the external schema Location feature"
thread for details.
Bob Foster
Radhakrishnan J wrote:
OK. Changed that to
file:///D:/ASAP/Test/Test/xyz/Origination/Standalone/Get
TED]> wrote:
On Thursday 30 December 2004 03:02, Bob Foster wrote:
What you have specified as an argument is pretty clearly not a URI. It
doesn't begin with a scheme. It's hard to tell from reading it what the
correct URL should be, but the form must be:
jar:file:/path-to-jar-file!/path-with
Didn't notice the slash when cut and pasting. Should be, e.g.,
String location =
"http://www.xyz.net/oagis
file:///D:/ASAP/Test/Test/xyz/Origination/Standalone/GetLoan.xsd";
Bob Foster
Bob Foster wrote:
Looks like a different problem. I'm pretty sure you need to specify a
Looks like a different problem. I'm pretty sure you need to specify a
namespace, URI pair in a schemaLocation, like you did in your document.
E.g.,
String location =
"http://www.xyz.net/oagis
file://D:/ASAP/Test/Test/xyz/Origination/Standalone/GetLoan.xsd";
Bob Foster
http
eter/.dpml/main/dpml/test/jars/dpml-test-testschema.jar!/net/dpml/test/testschema/ConfigurableB.xschema
What did you think the
/home/peter/metro/svn/development/main/metro/composition/test/
at the beginning would accomplish?
Bob Foster
Peter Neubauer wrote:
Hi,
trying to set the feature on a 2.6.2
I don't want to drag this out forever, but no. As stated there are no
necessary dependency relationships except by the document. This is
because the document may directly reference any number of the schemas,
including all.
Bob
Jeff Greif wrote:
If this was all you had to use, you would be safe
- Original Message -
From: "Bob Foster" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 06, 2004 1:38 PM
Subject: Re: Problem with grammar pool
Jeff Greif wrote:
Another not-very-appealing possibility is to iterate over the grammar
pool
before and after p
Jeff Greif wrote:
Another not-very-appealing possibility is to iterate over the grammar pool
before and after parsing the document or root schema and look at the change.
I'm not sure what I would find out from this.
This assumes the grammar pool is not used by multiple threads.
It is, but I have a
Yes, you could do that. Then if you had seen a sequence of schemas and
later one of these changed you could just throw away everying in the
sequence preceding the changed schema. Assuming that which schema
changes is somewhat random, you will, on average, throw away half of the
cache related to
Jeff Greif wrote:
From: "Bob Foster" <[EMAIL PROTECTED]>
My XMLGrammarPool implementation keeps a cache of grammars, invalidating
the cache when a grammar is modified. This works quite well when a
document directly references a schemaLocation of, say, A.xsd. If A.xsd
is modified
, Xerces doesn't
seem to provide any way to get such dependency information. AFAIK, the
grammar pool can't tell the difference between two schemas that are used
sequentially (independent) and one schema included by another (dependent).
Any suggestions welcome.
Because such a stream is not an XML document, I suppose.
Bob Foster
[EMAIL PROTECTED] wrote:
I've always been curious why the XML spec never provided a way to
separate multiple documents in a stream. In almost all my uses of XML,
I've had to come up with a special character to se
sections as many times as necessary.
Bob Foster
Andy Clark wrote:
Michael Glavassevich wrote:
The sequence "]]>" [1] cannot appear in character data. You should
escape the ">" with >.
Actually, escaping it wouldn't do any good because the string
">"
The value ≤ can't be contained in a byte (0-256).
Bob Foster
http://xmlbuddy.com
Felix Planjer wrote:
I could be wrong, but I've tested it and am fairly sure the string
contains '?'.
If I output:
comp.getNodeValue().getBytes()[0]
it has the value 63, which is the byte value of
='http://www.xyz.com/ContentMetaData
ContentMetaData.xsd'>
No, it needs to be:
Bob Foster
http://xmlbuddy.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It's not JDOM, it's Java. Java requires you to escape a \ in a string as \\.
Bob Foster
David Morris wrote:
Ankit,
What you describe is what I would expect but it seems that in practice
I have to double escape the pattern. I am running my validation via
JDOM, so it is possible that is
Well, it's time to unimplement it. I've been informed by Steve
Sperberg-McQueen that a portion of that errata resolution has been
rewritten so as to allow the usage in xhtml1-strict (and many other
published schemas).
Bob Foster
Michael Glavassevich wrote:
Hello Michael,
This errat
People may be interested to know that the spec is about to change _back_
so that 1.0 schemas that were correct and became incorrect because of
the pattern errata become correct again. ;-}
Kudos to the schema committee for this. Now, when can we expect to see
Xerces conform?
Bob Foster
michael
While processing an XSSimpleTypeDefinition that has enumeration values
which are QNames, I need to know the namespace URI that corresponds to
the QName prefix used to define the values in the schema. How do I get
access to that?
Thanks.
Bob Foster
http://xmlbuddy.com
within the jar.
Haven't tried this with Xerces but should work.
Bob Foster
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
] http://xml.apache.org/xerces2-j/properties.html#security-manager
[2]
http://xml.apache.org/xerces2-j/javadocs/xerces2/org/apache/xerces/util/SecurityManager.html
On Mon, 22 Mar 2004, Bob Foster wrote:
It would be far better to pick a smaller upper bound by default and
require an option to be set
Just a comment. Xerces' handling of large maxOccurs values seems pretty
broken. When I debugged into it, I discovered that the outofmemory
exceptions were caused by Xerces trying to allocate, IIRC, a table with
dimensions 19*19.
Yes, you can always tell the user to use "unbounded", but
and not
just a need for lookahead.) I guess we'll just be going through a period
where half the tools accept it and half reject it, but it's good to know
Xerces is in the more up-to-date half.
Bob
Bob Foster <[EMAIL PROTECTED]> wrote on 03/17/2004 05:37:40 PM:
Xerces 2.6.0 rep
Xerces 2.6.0 reports an error in:
http://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd
against this regex pattern (among others):
Xerces is complaining about the - that begins [-+]. Yet XML Schema Part
2 http://www.w3.org/TR/xmlschema-2/#nt-charRange specifically allows a -
to begin
Encoding detection happens when the document is opened; after that, a
conversion error may have caused a well-formed error, but it cannot be
identified as a charset problem.
Most likely the parser isn't detecting the non-UTF-8 characters because
Java isn't. I have seen mention that you can ask
Sure looks like a bug to me.
Bob Foster
http://xmlbuddy.com/
Franz-Josef Herpers wrote:
Hi,
I'm not sure if one should call the following a bug, but at least it
seems like a misdirection which costs me an hour of debugging time.
The interface org.apache.xerces.xs.XSModel of the XML-Schem
he "entity
problem now that DTDs aren't used". If you can have your schema and DTD,
too, that would be a non-problem.
Bob Foster
http://xmlbuddy.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
of caching.
Bob Foster
http://xmlbuddy.com/
Michael Glavassevich wrote:
Hi George,
We think there is a need for another utility class. By default the
resolver uses JVM wide system properties and/or a properties file to
determine the settings used by the catalog. Unless you provide one, the
Hi,
Sounds good. While you're up, could you have your utility class
implement EntityResolver, as well, so it can be used at the SAX level?
Bob Foster
http://xmlbuddy.com/
Michael Glavassevich wrote:
Hi everyone,
We've been re-evaluating our original approach for including suppor
Sounds good. Just a few responses...
Michael Glavassevich wrote:
Hi Bob,
my comments are below...
On Fri, 16 Jan 2004, Bob Foster wrote:
This seems a good thing to do! Some feedback and questions...
- Please don't do anything that will interfere with the operation of
entity reolvers. If an e
fier" mode, as in the catalog spec? I guess this would set the
default and the catalog itself could still override it with prefer
attributes?
- Will you support jar: scheme URIs?
Bob Foster
Michael Glavassevich wrote:
In the upcoming release of Xerces-J we are going to be including OASIS
that sentence.
It's an interesting engineering problem how one can both precompile a
DTD and defer evaluation of its parameter entities, esp. in the presence
of conditional include/ignore.
Bob Foster
http://xmlbuddy.com/
-
Carl Hume wrote:
On January 14, 2004 03:34 pm, Bob Foster wrote:
Of course not. The default encoding is UTF-8. An erroneous encoding
declaration won't make things better. I mean, specify the actual encoding.
I'm going to take a step back for a second, because I'm (obviously) confu
Carl Hume wrote:
On January 14, 2004 02:33 pm, Bob Foster wrote:
Adding an explicit encoding declaration to your XML document should
resolve the problem.
I would have though so, but unfortunately:
does not work.
Of course not. The default encoding is UTF-8. An erroneous encoding
declaration
Adding an explicit encoding declaration to your XML document should
resolve the problem.
Bob Foster
http://xmlbuddy.com/
Christopher Ebert wrote:
Look at your character encodings. If the Laptop is probably windows,
the encoding is probably Cp 1252. The other machine must have a
local" attribute does not belong to any
namespace. For both examples to be valid, the element would have to have
an attribute named attr and there would have to be a global attribute in
the namespace (defined at the top level) named attr.
Bob Foster
http://xmlbuddy.com/
---
ckage (org.w3c.dom.html2).
[1]
http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/java-binding.html
[2]
http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/java-language-binding.html
On Sat, 10 Jan 2004, Bob Foster wrote:
I downloaded XercesJ 2.6.0 source, stuffed it in an Eclipse project and
bui
ethod: .getContentDocument()."
The declaration in HTMLFrameElement is typical:
/**
* The document this frame contains, if there is any and it is
available,
* or null otherwise.
* @since DOM Level 2
*/
public Document getContentDocument();
What's the deal?
Thanks.
stead of "##any". You may want something
else entirely. But you can't do what you wrote.
Bob Foster
http://xmlbuddy.com/
Benson Cheng wrote:
One of the complexTypes in my schema as below:
When I use
encoding, and _all_ Unicode characters can be
represented in, e.g., UTF-8.
Bob Foster
http://xmlbuddy.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ot;
"
I don't think this is an unreasonable demand - since many applications don't
want to be bothered with how the document is formatted?
It's not just whitespace. Also comments, processing instructions.
You have 200 bugs in your code caused by misunderstanding XML
(Node node) {
while (node != null && node.getNodeType() != Node.ELEMENT_NODE)
node = node.getNextSibling();
return node;
}
// typed from memory - if they don't compile/run, fix 'em
You could add error checking for non-whitespace text if desired.
Bo
My XML instance document is constrained by W3C schema and XPath.
I hope one processor can perform two tasks.
Does anybody have any clue to do that ?
Jing Yang
> -Original Message-
> From: Bob Foster [mailto:[EMAIL PROTECTED]
> Sent: Tuesday
Lingzhi Zhang wrote:
It is just a minimum xpath parser. For full support to XPath 1.0, try
Xalan.
By "minimum" do you mean it supports only the XPath syntax allowed by
XML Schema selections and fields?
Bob
-
To unsubscribe, e-mai
an unambiguous sequence, e.g., (a, b,...), only the
next element needs to be tested. Etc.)
Bob Foster
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Eric Sirianni wrote:
Yes. Here is the code I am using
public static org.apache.lucene.document.Document preParseXMLFile(File
xmlFile) {
try {
DOMParser parser = new DOMParser();
FileReader reader = new FileReader(xmlFile);
parser.parse(new InputSou
What version are you running? This bug has popped up in one guise or
another all over Xerces in the past, but I believe they have fixed it in
the 2.5.0 version.
Bob Foster
Eric Sirianni wrote:
I am trying to parse the following XML document using Xerces-J:
http://www.oasis-open.org/docbook/xml
wants to carry on a
discussion of this topic. Not on the user list.
Thanks,
Donald Holliday
-Original Message-
From: Bob Foster [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 05, 2003 11:41 PM
To: [EMAIL PROTECTED]
Subject: Re: [Discuss] Pull Parsing, JSR-173, and Xerces
Andy Clark wrote
afe,
nor is there any way for an application to disable any of them. Is it
too late to fix this?
Bob Foster
http://www.xmlbuddy.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jacob Kjome wrote:
I specified the real URI. I gave the actual path
Try file:/C:/test.xml
Try file:///C:/test.xml (three slashes after the file: scheme).
The following should also work: file://localhost/C:/test.xml but why
involve the network?
I find it hard to believe it doesn't work with a val
be a considerable
reduction of complexity on the server side. It may be too soon to catch this
wave, but something to keep an eye on.
Bob Foster
- Original Message -
From:
Greg
Hess
To: Xerces User Mail list
Sent: Wednesday, September 17, 2003 2:28
PM
Subject: [OT]
Sorry to be dense, but what exactly is the bug? External entities don't work
in the preparser? Something more subtle?
Bob Foster
- Original Message -
From: "Neil Graham" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 1
Can one configure the parser to allow a DTD internal or external subset to
be used to define entities while an XML Schema(s) is used for validation?
If so, what set of parameters need to be specified? Is there a way to do it
without using XNI?
Thanks.
Bob Foster
http://www.xmlbuddy.com
Yes, that all makes sense. I still believe, in addition, that the ability to
(Blocate a schema for a namespace based on an import in another schema is
(Bimplementation-dependent. A processor is not required to do anything with
(Bthe schemaLocation in an import, including remember it.
(B
(BOn t
Import doesn't make one schema define multiple namespaces. A processor is
(Bnot required to resolve or remember the schemaLocation of an imported
(Bschema. Specify the schemaLocation for both schemas in your instance
(Bdocument, e.g.,
(B
(Bxsi:schemaLocation='http://foo.com/namespace1 ns1.xsd
you can invent your
own scheme for your EntityResolver to interpret. For example, if you give it
"memory:docname" as a base URI and a relative URI in the XInclude of
part1/subpart1/abc.xml, your resolver should get "memory:part1/subpart1/abc.xml"
as the URI to resolve, a
of memory or overflowing the JVM stack, both
of which can cause the JVM to stop abruptly.
Bob Foster
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's not an error. XML documents are Unicode text and { is a legal
Unicode character. ISO-8859-1 is just an encoding; it doesn't restrict the
character range of the document.
Bob Foster
-
To unsubscribe, e-mail: [EMAIL PRO
for a particular type,
independent of its base types? For example, if complex type A is derived by
extension from complex type B, where can one find only those elements and
attributes added by A?
Thanks.
Bob Foster
-
To unsu
would be necessary e.g.,
to show an outline view or a graph that includes content models, types,
groups, etc. Do we need getContentModel() for such an application, or is
there another way to do it?
Bob Foster
- Original Message -
From: "Sandy Gao" <[EMAIL PROTECTED]>
To: &
> Ok, now it makes sense. So, if I add elementFormDefault="qualified"
> the my schema...Correct?
Correct and always a good idea when you have a targetNamespace.
Bob Foster
-
To unsubscribe, e-mail: [EMAI
en though "XSSimpleTypeDefinition is
preferred over XSSimpleTypeDecl" it is really not obvious when one must use
an "implementation type" in order to avoid re-doing work the parser has
already done.
Thanks.
Bob Foster
> How can I specify this (element content only - no text nodes)?
Don't specify mixed in your complexType.
If you are asking, "Can I prohibit whitespace between elements?", I believe
the answer is no.
Bob
-
To unsubscribe, e-ma
Not exactly a Xerces question, but here is an answer.
Any element in the *-qualified list can appear any number of times and the ?
has absolutely no effect. (a|b)*, (a?|b?)*, (a?|b)* and (a|b?)* all describe
the same grammar.
Bob
- Original Message -
From: "Shashank" <[EMAIL PROTECTED]>
Why would they? They don't have any text contents.
Bob Foster
WebGain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
eople want and need to do.
I think you've slipped away from Elana's point. It's not that you can't
create a new, empty document with a docType of your own making (an important
use case), and it's not that you can't import nodes from an existing
document to the new d
to do a document.removeChild(doctype) to remove the
> doctype node.
And then you could do a document.appendChild(newdoctype)?
Then why does the DOM go to such lengths to prevent you from editing a
DocumentType, importing one, etc.? Do you suppo
1 - 100 of 103 matches
Mail list logo