473,320 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Computational nut?

Hi,

For those of you who like something to think about:

If I give you a DTD, can you (tell me how to) return to me a regular
language over elements on document order in documents that are valid
wrt. the schema?

Ex.:

<!ELEMENT a (b|c)>
<!ELEMENT b (d*)>
<!ELEMENT c(b)>

A valid document

<a>
<b>
<d/> <d/>
</b>
</a>

Parser's document order start tag encounters: a b d d

A regex (just hand made) that should work: a ( (b d*) | ( c b d* ) )

Now generalize :)

Or maybe I'm stupid; is it regular at all -- generally? With cycles in
the schema (x may contain x, and also y, which may contain x ... etc)

;)

My only observation is that descendants go before siblings.

Soren
Feb 19 '06 #1
1 1090
Soren Kuula wrote:
Hi,

My only observation is that descendants go before siblings.


and that regular languages over regular languages are still regular?

Soren
Feb 19 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dennis Benzinger | last post by:
Hi! Does anyone know of Python bindings for the Computational Geometry Algorithms Library (http://www.cgal.org/)?
1
by: Ralf W. Grosse-Kunstleve | last post by:
======================================================================== Lawrence Berkeley National Laboratory Software Development for Single Particle Image Construction with the Computational...
0
by: avinash | last post by:
International Conference on Computational Intelligence and Multimedia Applications, August 16-18, 2005 University of Nevada, Las Vegas, USA (www.iccima.org) F I R S T C A L L F O R P...
10
by: Immortalist | last post by:
Various aquisition devices that guide learning along particular pathways towards human biases. And as E.O. Wilson might say mental development appears to be genetically constrained. (1) Language...
0
by: tavares | last post by:
--------------------------------------------------------------------------------------------------------------------------------------------- (Apologies for cross-posting) Symposium...
0
by: tavares | last post by:
------------------------------------------------------------------------------------------------------------------------------------------- (Apologies for cross-posting) Symposium...
3
by: Adrian Luck | last post by:
Can anyone tell me is there a limit to the number of objects and animating elements that one can have in a flash application? Is it based on the software and or computational power of the computer?
5
by: Joris van Lier | last post by:
Given two implementations of an algorithm how do I determine the relative computational complexity of each? Are there tools that can determine the relative performance of two algorithms or...
1
by: pradnya3091 | last post by:
can i get a c code for northwest corner method from computational mathematics
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.